diff --git a/Makefile b/Makefile index a63d1066..30b43d86 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/src/sparklepony b/src/sparklepony new file mode 100644 index 00000000..2a194301 --- /dev/null +++ b/src/sparklepony @@ -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