Update mweb (#2076)

* update mweb

* update mweb (synchronization should be 2x faster)

* update mweb version
This commit is contained in:
Omar Hatem
2025-03-26 17:36:13 +02:00
committed by GitHub
parent 2cedd53d13
commit 78f0df1748
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
if [[ "$1" == "--dont-install" ]]; then
echo "Skipping Go installation as per --dont-install flag"
else
# install go > 1.23:
wget https://go.dev/dl/go1.23.1.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.1.linux-amd64.tar.gz
# install go > 1.24:
wget https://go.dev/dl/go1.24.1.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.1.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
@@ -13,7 +13,7 @@ fi
# build mwebd:
git clone https://github.com/ltcmweb/mwebd
cd mwebd
git reset --hard 555349415f76a42ec5c76152b64c4ab9aabc448f
git reset --hard f75cb9edef07d03360ee2d33e6edae4243a890b1
gomobile bind -target=android -androidapi 21 .
mkdir -p ../../../cw_mweb/android/libs/
cp ./mwebd.aar $_