From e0d122152e477041ab0545e0586dfec88af8545a Mon Sep 17 00:00:00 2001 From: bakustarver <66978329+bakustarver@users.noreply.github.com> Date: Thu, 30 May 2024 16:52:31 +0300 Subject: [PATCH] Add files via upload --- install.sh | 3 +-- uninstall.sh | 7 ++++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 350cdc9..57fcf5a 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/bin/bash installpath=$(dirname "$0") -version='1.0.7' +version='1.0.8' if ! [ -d "$installpath/nwjs" ]; then echo "Can't find nwjs folder" exit 1; @@ -108,7 +108,6 @@ Terminal=true NoDisplay=true" > "$localapplicationsfd/nwjsoptions.desktop" chmod +x "$localapplicationsfd/nwjsoptions.desktop" -# Exec=bash -c "/home/pasha/desktopapps/nwjs/nwjs/packagefiles/nwjsstart-cicpoffs.sh --latestnwjs --gamepath '$(pwd)'";# lnnew "$mainfd/nwjs/packagefiles/nwjsstart-cicpoffs.sh" "$localbin/rpgmaker-linux" chmod +x "$localbin/rpgmaker-linux" diff --git a/uninstall.sh b/uninstall.sh index 3d0bb10..bed939c 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -3,5 +3,10 @@ -rm -rf "$HOME/desktopapps/nwjs" && rm "$HOME/.local/share/applications/nwjstest.desktop" && rm "$HOME/.local/share/applications/nwjsoptions.desktop" && rm "$HOME/.local/bin/rpgmaker-linux" && rm -rf "$HOME/.local/share/Steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/" && rm -rf "$HOME/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/" +rm -rf "$HOME/desktopapps/nwjs"; +rm "$HOME/.local/share/applications/nwjstest.desktop"; +rm "$HOME/.local/share/applications/nwjsoptions.desktop"; +rm "$HOME/.local/bin/rpgmaker-linux"; +rm -rf "$HOME/.local/share/Steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/"; +rm -rf "$HOME/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/" sed -e 's@x-scheme-handler/rpgmakermp.*@@g' -i "$HOME/.config/mimeapps.list"