mirror of
https://github.com/bakustarver/rpgmakermlinux-cicpoffs.git
synced 2025-03-28 14:56:21 +01:00
Merge pull request #3 from bayazidbh/main
fix parsing of echo .desktop files during install process
This commit is contained in:
commit
1e714bd2dc
1 changed files with 6 additions and 5 deletions
11
install.sh
Normal file → Executable file
11
install.sh
Normal file → Executable file
|
@ -9,7 +9,7 @@ fi
|
|||
echo "Installing rpgmaker-linux v$version"
|
||||
|
||||
mainfd="$HOME/desktopapps/nwjs"
|
||||
localapplicationsfd="$HOME/.local/share/applications/"
|
||||
localapplicationsfd="$HOME/.local/share/applications"
|
||||
localbin="$HOME/.local/bin"
|
||||
|
||||
arch=$(uname -m)
|
||||
|
@ -59,10 +59,10 @@ createfd "$localbin"
|
|||
|
||||
checkthebinaryarch "$installpath/nwjs/cicpoffs"
|
||||
cp "$installpath/install.sh" "$mainfd"
|
||||
cp -r "$installpath/nwjs/" "$mainfd"
|
||||
cp -r "$installpath/nwjs" "$mainfd"
|
||||
|
||||
# echo "Making a desktop file"
|
||||
echo "[Desktop Entry]
|
||||
echo -e "[Desktop Entry]
|
||||
Name=RPG Maker MV/MZ (cicpoffs mount)
|
||||
Exec=env gamef=\"%u\" $mainfd/nwjs/packagefiles/nwjsstart-cicpoffs.sh --chooselatestnwjs
|
||||
Type=Application
|
||||
|
@ -74,7 +74,7 @@ Terminal=true
|
|||
NoDisplay=true" > "$localapplicationsfd/nwjstest.desktop"
|
||||
chmod +x "$localapplicationsfd/nwjstest.desktop"
|
||||
|
||||
echo "[Desktop Entry]
|
||||
echo -e "[Desktop Entry]
|
||||
Name=RPG Maker MV/MZ Options
|
||||
Exec=env gamef=\"%u\" $mainfd/nwjs/packagefiles/nwjsstart-cicpoffs.sh --gui
|
||||
Type=Application
|
||||
|
@ -83,12 +83,13 @@ StartupNotify=true
|
|||
MimeType=application/x-ms-dos-executable;application/x-wine-extension-msp;
|
||||
Icon=$mainfd/nwjs/packagefiles/nwjs128.png
|
||||
Terminal=true
|
||||
NoDisplay=true" > "$localapplicationsfd/nwjstoptions.desktop"
|
||||
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"
|
||||
update-desktop-database -q ~/.local/share/applications
|
||||
|
||||
echo "Installation Done"
|
||||
|
|
Loading…
Add table
Reference in a new issue