From db1ccc283d5dfb4a783507651f9655bf4f8e38fe Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Wed, 29 May 2024 23:21:56 -0400 Subject: [PATCH] Revert "MuseScore: update to 4.3.0" This reverts commit dc879b8084cedb5fa1655c5b1fa682ff403e2df0. --- .github/workflows/updates/MuseScore.sh | 6 +++--- apps/MuseScore/install | 12 +++++------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/updates/MuseScore.sh b/.github/workflows/updates/MuseScore.sh index 7a0d5a743ff..f4570f7f6df 100755 --- a/.github/workflows/updates/MuseScore.sh +++ b/.github/workflows/updates/MuseScore.sh @@ -1,7 +1,7 @@ #!/bin/bash -webVer=$(curl -s --header "Authorization: token $GH_PERSONAL_ACCESS_TOKEN" "https://api.github.com/repos/musescore/MuseScore/releases/latest" | jq -r '.assets | .[].browser_download_url' | grep aarch64.AppImage$ | sed 's;https://github.com/musescore/MuseScore/releases/download/v'.*'/MuseScore-Studio-;;g' | sed 's;-aarch64.AppImage;;g') -armhf_url="https://github.com/musescore/MuseScore/releases/download/v${webVer%.*}/MuseScore-Studio-${webVer}-armv7l.AppImage" -arm64_url="https://github.com/musescore/MuseScore/releases/download/v${webVer%.*}/MuseScore-Studio-${webVer}-aarch64.AppImage" +webVer=$(curl -s --header "Authorization: token $GH_PERSONAL_ACCESS_TOKEN" "https://api.github.com/repos/musescore/MuseScore/releases/latest" | jq -r '.assets | .[].browser_download_url' | grep aarch64.AppImage$ | sed 's;https://github.com/musescore/MuseScore/releases/download/v'.*'/MuseScore-;;g' | sed 's;-aarch64.AppImage;;g') +armhf_url="https://github.com/musescore/MuseScore/releases/download/v${webVer%.*}/MuseScore-${webVer}-armv7l.AppImage" +arm64_url="https://github.com/musescore/MuseScore/releases/download/v${webVer%.*}/MuseScore-${webVer}-aarch64.AppImage" source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh diff --git a/apps/MuseScore/install b/apps/MuseScore/install index 14b92e09425..5f6c6b9b030 100755 --- a/apps/MuseScore/install +++ b/apps/MuseScore/install @@ -1,6 +1,6 @@ #!/bin/bash -version=4.3.0.241231432 +version=4.2.1.240230938-experimental if [ $arch == 32 ];then url_arch=armv7l @@ -17,7 +17,7 @@ fi enable_module fuse || exit 1 -wget -O "/tmp/MuseScore.AppImage" "https://github.com/musescore/MuseScore/releases/download/v${version%.*}/MuseScore-Studio-${version}-${url_arch}.AppImage" || exit 1 +wget -O "/tmp/MuseScore.AppImage" "https://github.com/musescore/MuseScore/releases/download/v${version%.*}/MuseScore-${version}-${url_arch}.AppImage" || exit 1 chmod +x "/tmp/MuseScore.AppImage" @@ -29,8 +29,6 @@ sudo /tmp/MuseScore.AppImage install || error "MuseScore.AppImage failed to run sudo rm -f /usr/local/bin/mscore sudo ln -s /usr/local/bin/MuseScore.AppImage /usr/local/bin/mscore -#remove "Portable" from menu button -sudo sed -i 's/ Portable$//g' /usr/local/share/applications/org.musescore.MuseScore4portable.desktop -# update timestamp of top level icon directory to signal icon cache to be refreshed -sudo touch /usr/local/share/icons -true #in case touch fails +#change menu button label to 'MuseScore 4' +sudo sed -i 's/^Name=.*/Name=MuseScore 4/g' /usr/local/share/applications/org.musescore.MuseScore4portable.desktop +true #in case sed fails