mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-26 13:39:39 +00:00
16 lines
No EOL
486 B
Bash
Executable file
16 lines
No EOL
486 B
Bash
Executable file
# install go > 1.21:
|
|
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
|
|
export PATH=$PATH:~/go/bin
|
|
go install golang.org/x/mobile/cmd/gomobile@latest
|
|
gomobile init
|
|
# build mwebd:
|
|
git clone https://github.com/ltcmweb/mwebd
|
|
cd mwebd
|
|
gomobile bind -target=android -androidapi 21 .
|
|
mkdir -p ../../../cw_mweb/android/libs/
|
|
mv ./mwebd.aar $_
|
|
# cleanup:
|
|
cd ..
|
|
rm -rf mwebd |