diff --git a/nwjs/packagefiles/nwjsstart-cicpoffs.sh b/nwjs/packagefiles/nwjsstart-cicpoffs.sh index d1f5578..1eef5ea 100644 --- a/nwjs/packagefiles/nwjsstart-cicpoffs.sh +++ b/nwjs/packagefiles/nwjsstart-cicpoffs.sh @@ -6,7 +6,7 @@ export LD_LIBRARY_PATH="$HOME/desktopapps/nwjs/nwjs/packagefiles/:$LD_LIBRARY_PA # curdesktop=$(echo "$XDG_CURRENT_DESKTOP") # defp="$HOME/deskappbin/nwjs/nwjs/" -version='1.0.3' +version='1.0.4' nwjsfm="$HOME/desktopapps/nwjs/nwjs" @@ -116,8 +116,12 @@ fi } checkgamefilesfd() { +if echo "$1" | grep ".exe"; then npath=$(dirname "$1" | sed -e "s@^'@@g"); -zenity --title "$gamef" --warning --text="$npath" +else +npath="$1" +fi +# zenity --title "$gamef" --warning --text="$npath" if [ -d "$npath/www" ] && [ -e "$npath/package.json" ] && [ -e "$npath/www/js/plugins.js" ]; then mountpath="$npath/www" found=true