brickviking / night-hawk

Nighthawk is a tribute to one of the most playable and contagious games ever written—Paradroid by Andrew Braybrook. Feel the excitement as you battle through hordes of droids to gain your object of removing all droids on the level.
2 stars 0 forks source link

Add XFCE compatible desktop icon #22

Open jsno8192 opened 3 years ago

jsno8192 commented 3 years ago

Requested by giantclambake (aka wotnot). He has strongly recommended I include a XFCE compatible decktop icon in 4.0. I will look into it tomorrow (no promises !):

Create desktop_icon.png (GCB's recommendation is a 606 droid)

Get the cmake script to create and copy this file to ~/Desktop/Nighthawk.desktop or .../share/applications/Nighthawk.desktop:

--$--------------------------

[Desktop Entry] Version=1.0 Type=Application Name=Nighthawk Comment= Exec=.../bin/nighthawk Icon=.../share/nighthawk/Nighthawk/logo.png Path= Terminal=false StartupNotify=false --$--------------------------

brickviking commented 3 years ago

About the only thing I might comment on in regard to this is: where would the debug log go? Currently debug goes to stdout. A program launched from the desktop doesn't have its stdout/stderr redirected to files.

jsno8192 commented 3 years ago

You are right. It's not kosher. It should output to an optional file. We can change that in 4.1dev if you like ?