Add files via upload

This commit is contained in:
bakustarver 2024-04-08 12:44:22 +03:00 committed by GitHub
parent 19e50b11f3
commit c4ab5c12ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
installpath=$(dirname "$0") installpath=$(dirname "$0")
version='1.0.2' version='1.0.3'
if ! [ -d "$installpath/nwjs" ]; then if ! [ -d "$installpath/nwjs" ]; then
echo "Can't find nwjs folder" echo "Can't find nwjs folder"
exit 1; exit 1;
@ -13,7 +13,7 @@ localapplicationsfd="$HOME/.local/share/applications/"
localbin="$HOME/.local/bin" localbin="$HOME/.local/bin"
arch=$(uname -m) arch=$(uname -m)
archcheckmessage=$(echo "$arch" | sed -e 's@x86_64@pie executable, x86-64,@g' -e 's@aarch64@pie executable, ARM aarch64,@g' -e 's@i686@pie executable, Intel 80386,@g' -e 's@armhf@pie executable, ARM,@g') archcheckmessage=$(echo "$arch" | sed -e 's@x86_64@pie executable, x86-64,@g' -e 's@aarch64@pie executable, ARM aarch64,@g' -e 's@i686@pie executable, Intel 80386,@g' -e 's@armv7l@pie executable, ARM,@g' -e 's@armhf@pie executable, ARM,@g')
rm -rf "$mainfd" rm -rf "$mainfd"
@ -64,7 +64,7 @@ cp -r "$installpath/nwjs/" "$mainfd"
# echo "Making a desktop file" # echo "Making a desktop file"
echo "[Desktop Entry] echo "[Desktop Entry]
Name=RPG Maker MV/MZ (cicpoffs mount) Name=RPG Maker MV/MZ (cicpoffs mount)
Exec=env gamef='%f' $mainfd/nwjs/packagefiles/nwjsstart-cicpoffs.sh --chooselatestnwjs # Exec=env gamef='%u' $mainfd/nwjs/packagefiles/nwjsstart-cicpoffs.sh --chooselatestnwjs
Type=Application Type=Application
Categories=Game Categories=Game
StartupNotify=true StartupNotify=true