fix paths and add right on install
This commit is contained in:
parent
8b3bf1f219
commit
1018f4256a
4
Makefile
4
Makefile
|
@ -4,7 +4,9 @@ SparklePony.exe : src/SparklePony.cs
|
|||
install:
|
||||
mkdir -p /usr/share/local/sparklepony
|
||||
cp src/SparklePony.exe /usr/share/local/sparklepony/
|
||||
cp src/sparklepony /usr/bin/
|
||||
chmod 755 /usr/local/share/sparklepony/SparklePony.exe
|
||||
cp src/sparklepony /usr/local/bin/
|
||||
chmod 755 /usr/local/bin/sparklepony
|
||||
cp data/icons /usr/share/ -R
|
||||
|
||||
uninstall:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ "$1" == "start" ]]; then
|
||||
mono /usr/share/sparklepony/SparklePony.exe
|
||||
mono /usr/share/local/sparklepony/SparklePony.exe
|
||||
else
|
||||
if [[ "$1" == "stop" ]]; then
|
||||
# Stop SparklePony.exe
|
||||
|
|
Loading…
Reference in a new issue