bakustarver/rpgmakermlinux-cicpoffs

custom desktop file entry not working

Closed this issue · 3 comments

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

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.

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"

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