fix(android): correct tsslib path in build-apk.bat
The tsslib source code is located in service-party-android/tsslib/, not in libs/tsslib/. Updated the path and output location accordingly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d5325efa2a
commit
9a4dd9729c
|
|
@ -131,8 +131,8 @@ if not exist "app\libs\tsslib.aar" (
|
|||
)
|
||||
)
|
||||
|
||||
:: Get the tsslib directory path (relative to service-party-android)
|
||||
set "TSSLIB_DIR=..\..\libs\tsslib"
|
||||
:: Get the tsslib directory path (inside service-party-android)
|
||||
set "TSSLIB_DIR=tsslib"
|
||||
|
||||
if not exist "!TSSLIB_DIR!\go.mod" (
|
||||
echo [ERROR] TSS library source not found at !TSSLIB_DIR!
|
||||
|
|
@ -154,7 +154,7 @@ if not exist "app\libs\tsslib.aar" (
|
|||
)
|
||||
|
||||
:: Build the AAR (use full path to gomobile)
|
||||
"!GOBIN_DIR!\gomobile.exe" bind -target=android -o "..\..\services\service-party-android\app\libs\tsslib.aar" .
|
||||
"!GOBIN_DIR!\gomobile.exe" bind -target=android -o "..\app\libs\tsslib.aar" .
|
||||
if !errorlevel! neq 0 (
|
||||
echo [ERROR] gomobile bind failed!
|
||||
popd
|
||||
|
|
|
|||
Loading…
Reference in New Issue