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)
|
:: Get the tsslib directory path (inside service-party-android)
|
||||||
set "TSSLIB_DIR=..\..\libs\tsslib"
|
set "TSSLIB_DIR=tsslib"
|
||||||
|
|
||||||
if not exist "!TSSLIB_DIR!\go.mod" (
|
if not exist "!TSSLIB_DIR!\go.mod" (
|
||||||
echo [ERROR] TSS library source not found at !TSSLIB_DIR!
|
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)
|
:: 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 (
|
if !errorlevel! neq 0 (
|
||||||
echo [ERROR] gomobile bind failed!
|
echo [ERROR] gomobile bind failed!
|
||||||
popd
|
popd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue