workflow and script fixes

This commit is contained in:
Matthew Fosse 2024-07-17 09:51:30 -07:00
parent 7c5cd1959c
commit 8ef96789d4
3 changed files with 9 additions and 6 deletions

View file

@ -109,7 +109,8 @@ jobs:
# build mwebd:
cd /opt/android/cake_wallet
git clone https://github.com/ltcmweb/mwebd
gomobile bind -target=android -androidapi 21 ./mwebd
cd /opt/android/cake_wallet/mwebd
gomobile bind -target=android -androidapi 21 .
mkdir -p /opt/android/cake_wallet/cw_mweb/android/libs/
mv ./mwebd.aar $_

View file

@ -7,9 +7,10 @@ go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
# build mwebd:
git clone https://github.com/ltcmweb/mwebd
# go install github.com/ltcmweb/mwebd/cmd/mwebd
cd mwebd
gomobile bind -target=android -androidapi 21 .
mkdir -p ../../cw_mweb/android/libs/
mkdir -p ../../../cw_mweb/android/libs/
mv ./mwebd.aar $_
# cleanup:
cd ..
rm -rf mwebd

View file

@ -7,9 +7,10 @@ go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
# build mwebd:
git clone https://github.com/ltcmweb/mwebd
# go install github.com/ltcmweb/mwebd/cmd/mwebd
cd mwebd
gomobile bind -target=ios ./mwebd
mkdir -p ../../cw_mweb/android/libs/
mv ./Mwebd.xcframework ../../ios/
mkdir -p ../../../cw_mweb/android/libs/
mv ./Mwebd.xcframework ../../../ios/
# cleanup:
cd ..
rm -rf mwebd