bakustarver / rpgmakermlinux-cicpoffs

Run any RPG Maker MV/MZ game on linux natively
GNU General Public License v3.0
60 stars 2 forks source link

custom desktop file entry not working #1

Closed valr337 closed 2 months ago

valr337 commented 2 months ago

Screenshot from 2024-04-03 21-58-01

Checked desktop entry folder ~/.local/share/applications » ls | grep nwjs nwjstest.desktop

Some investigation.. I removed "#" from Exec entry and the desktop entry shows but a terminal appears and the program disappears Screenshot from 2024-04-03 22-00-26

To confirm its a desktop entry problem, I typed out the command the terminal x3KQPC

I tried to fix by changing the Exec line to (the commented line in install.sh) bash -c "/home/USER/desktopapps/nwjs/nwjs/packagefiles/nwjsstart-cicpoffs.sh" --latestnwjs --gamepath %f as "=" is a reserved keyword but it still doesn't work https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables

OS Ubuntu 22.04 LTS Program version ~/Downloads » rpgmaker-linux --version 1.0.2

bakustarver commented 2 months ago

Yeah, sorry, I'm KDE plasma user so I didn't notice this bug. I also tested with openbox and it also worked. So I tested and tried to fix this issue in ubuntu gnome 22.04. I would be glad if you tell me if the fix works.

valr337 commented 2 months ago

Technically its working, however theres an error dialog box before the game starts image image

However I found the fix for v1.02 but it isnt working for the latest v1.03 Changed Exec line to Exec=bash -c "/home/USER/desktopapps/nwjs/nwjs/packagefiles/nwjsstart-cicpoffs.sh --chooselatestnwjs --gamepath %f"

bakustarver commented 2 months ago

yea, i forgot to remove the line with the zenity

Thanks for the test, since the bug is fixed I'm closing the thread, in the new version this dialog box is off