initial wrapper script

This commit is contained in:
Hylke Bons 2010-04-27 18:19:36 +01:00
parent 95648e326b
commit c90d10a0a9
2 changed files with 13 additions and 0 deletions

View file

@ -4,8 +4,10 @@ SparklePony.exe : src/SparklePony.cs
install:
mkdir /usr/share/sparklepony
cp src/SparklePony.exe /usr/share/sparklepony
cp src/sparklepony /usr/bin
uninstall:
rm /usr/bin/sparklepony
rm /usr/share/sparklepony/SparklePony.exe
mkdir /usr/share/sparklepony

11
src/sparklepony Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
if [[ "$1" == "start" ]]; then
mono /usr/share/sparklepony/SparklePony.exe
else
if [[ "$1" == "stop" ]]; then
# Stop SparklePony.exe
else
# Usage
fi
fi