Skip to content

Commit

Permalink
Add linux exec script and freedesktop file
Browse files Browse the repository at this point in the history
  • Loading branch information
petarov committed Jun 1, 2016
1 parent 566cab2 commit d463369
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
13 changes: 13 additions & 0 deletions assets/desktop/strider.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Desktop Entry]
Encoding=UTF-8
Name=Strider
GenericName=Action Game
Version=@@VERSION
Type=Application
Categories=Game;ActionGame;ArcadeGame
Keywords=Game;Action;2D;Arcade;Shooter
Comment=Strider is a 2D sci-fi platformer
TryExec=strider
Exec=strider
Terminal=false
Icon=strider48
7 changes: 7 additions & 0 deletions strider.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
# Desc: Strider startup script

export GAMEDIR="INSTALL_DATADIR"

cd $GAMEDIR
exec ./Strider "$@"

0 comments on commit d463369

Please sign in to comment.