From 121e4044f22b26e10ecbb7dc07ff12de6c0a6ef2 Mon Sep 17 00:00:00 2001 From: dheijl Date: Wed, 28 Sep 2022 17:51:04 +0200 Subject: [PATCH] Create make_appimage.sh script to build appimage for Ubuntu 20.04 LTS and later. --- deploy/make_appimage.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 deploy/make_appimage.sh diff --git a/deploy/make_appimage.sh b/deploy/make_appimage.sh new file mode 100755 index 0000000..777f63f --- /dev/null +++ b/deploy/make_appimage.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +if sudo cp ~/Documenten/GitHub/swyh-rs/target/release/swyh-rs /usr/bin/swyh-rs +then + [[ -f AppDir ]] && rm -r AppDir + + ./linuxdeploy-x86_64.AppImage -e /usr/bin/swyh-rs -d ~/Documenten/GitHub/swyh-rs/deploy/swyh-rs.desktop -i ~/Documenten/GitHub/swyh-rs/deploy/n256.png --appdir AppDir --output appimage + + sudo rm /usr/bin/swyh-rs +fi + + +