initial wrapper script
This commit is contained in:
parent
95648e326b
commit
c90d10a0a9
2
Makefile
2
Makefile
|
@ -4,8 +4,10 @@ SparklePony.exe : src/SparklePony.cs
|
||||||
install:
|
install:
|
||||||
mkdir /usr/share/sparklepony
|
mkdir /usr/share/sparklepony
|
||||||
cp src/SparklePony.exe /usr/share/sparklepony
|
cp src/SparklePony.exe /usr/share/sparklepony
|
||||||
|
cp src/sparklepony /usr/bin
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
rm /usr/bin/sparklepony
|
||||||
rm /usr/share/sparklepony/SparklePony.exe
|
rm /usr/share/sparklepony/SparklePony.exe
|
||||||
mkdir /usr/share/sparklepony
|
mkdir /usr/share/sparklepony
|
||||||
|
|
||||||
|
|
11
src/sparklepony
Normal file
11
src/sparklepony
Normal 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
|
Loading…
Reference in a new issue