From 642386050130393c7dec431321f1615e54e25e5c Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Wed, 9 Oct 2024 12:03:03 -0400 Subject: [PATCH] Monero GUI: switch to release tag, add auto-updater, and drop ARM32 see https://github.com/Botspot/pi-apps/issues/2651#issuecomment-2387140174 for why ARM32 was dropped (and the requirement to bring it back) --- .github/workflows/updates/Monero GUI.sh | 6 ++++++ apps/Monero GUI/{install => install-64} | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 .github/workflows/updates/Monero GUI.sh rename apps/Monero GUI/{install => install-64} (96%) diff --git a/.github/workflows/updates/Monero GUI.sh b/.github/workflows/updates/Monero GUI.sh new file mode 100755 index 0000000000..bb774ab583 --- /dev/null +++ b/.github/workflows/updates/Monero GUI.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +version=$(get_release_raw monero-project/monero-gui) +arm64_url="https://github.com/monero-project/monero-gui/tree/$version" + +source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh diff --git a/apps/Monero GUI/install b/apps/Monero GUI/install-64 similarity index 96% rename from apps/Monero GUI/install rename to apps/Monero GUI/install-64 index 2983eb120f..6289eec977 100755 --- a/apps/Monero GUI/install +++ b/apps/Monero GUI/install-64 @@ -1,5 +1,7 @@ #!/bin/bash +version=v0.18.3.4 + install_packages build-essential cmake miniupnpc libunbound-dev graphviz doxygen \ libunwind8-dev pkg-config libssl-dev libzmq3-dev libsodium-dev libhidapi-dev libnorm-dev \ libusb-1.0-0-dev libpgm-dev libprotobuf-dev protobuf-compiler libgcrypt20-dev libboost-chrono-dev \ @@ -11,7 +13,7 @@ qml-module-qt-labs-settings qml-module-qt-labs-platform qml-module-qt-labs-folde qttools5-dev-tools qml-module-qtquick-templates2 libqt5svg5-dev || exit 1 cd /tmp -git_clone --recursive https://github.com/monero-project/monero-gui || exit 1 +git_clone -b ${version} --recursive https://github.com/monero-project/monero-gui || exit 1 #compile cd /tmp/monero-gui