This commit is contained in:
Matthew Fosse 2024-06-28 10:33:08 -07:00
parent a12580088b
commit 216949bb28

View file

@ -93,12 +93,16 @@ jobs:
wget https://go.dev/dl/go1.22.4.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go install golang.org/x/mobile/cmd/gomobile@latest
# install mwebd:
cd /opt/android/cake_wallet
git clone https://github.com/ltcmweb/mwebd
cd /opt/android/cake_wallet/mwebd
go get github.com/ltcmweb/mwebd/cmd/mwebd
go install github.com/ltcmweb/mwebd/cmd/mwebd
go get golang.org/x/mobile/cmd/gobind
go get golang.org/x/mobile/cmd/gomobile
gomobile init
gomobile bind -target=android -androidapi 21 github.com/ltcmweb/mwebd
mkdir -p /opt/android/cake_wallet/cw_mweb/android/libs/
mv ./mwebd.aar $_