Skip to content

Commit

Permalink
add script update-appimage-tools.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlcltd committed Nov 23, 2024
1 parent 94c094d commit c824258
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions scripts/update-appimage-tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
# Update appimage deploy tools
#

D=$(date +%Y%m%d)

mkdir "deploy-bak-${D}"
sudo mv /usr/local/bin/linuxdeploy "deploy-bak-${D}/linuxdeploy-x86_64.AppImage"
sudo mv /usr/local/bin/linuxdeploy-plugin-qt "deploy-bak-${D}/linuxdeploy-plugin-qt-x86_64.AppImage"
sudo mv /usr/local/bin/appimagetool "deploy-bak-${D}/appimagetool-x86_64.AppImage"

wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage
chmod +x linuxdeploy-plugin-qt-x86_64.AppImage
chmod +x appimagetool-x86_64.AppImage

sudo mv linuxdeploy-x86_64.AppImage /usr/local/bin/linuxdeploy
sudo mv linuxdeploy-plugin-qt-x86_64.AppImage /usr/local/bin/linuxdeploy-plugin-qt
sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool

0 comments on commit c824258

Please sign in to comment.