jmcerrejon / PiKISS

PiKISS for Raspberry Pi: A bunch of scripts with menu to make your life easier.
http://misapuntesde.com
MIT License
894 stars 92 forks source link

DiabloII #111

Closed max0r4axor closed 3 years ago

max0r4axor commented 3 years ago

The desktop entry that is created points to the wrong directory for the diablo2.sh and diabloII.png thumbnail.

jmcerrejon commented 3 years ago

On RPi OS?. It's the only OS supported

max0r4axor commented 3 years ago

Yes on RPi OS. The files are created in the folder /home/pi/games/diablo2/ but the desktop entry points to /home/pi/diablo2/ I had to edit the diablo2.desktop file so it would launch the shell script.

max0r4axor commented 3 years ago

I see the issue its in the piKiss/scripts/games/diablo2.sh line 50 and 51 Exec=${PWD}/diablo2/diablo2.sh Icon=${PWD}/diablo2/diabloII.png it should be Exec=${PWD}/games/diablo2/diablo2.sh Icon=${PWD}/games/diablo2/diabloII.png

jmcerrejon commented 3 years ago

No worry. I got the bug, but I want to refactor the script a bit. Thanks for that.

jmcerrejon commented 3 years ago

Fixed https://github.com/jmcerrejon/PiKISS/commit/8783577c3fa5ab0ddee84d48de8da4b29bfa25c2