add install script
This commit is contained in:
parent
71121dd81f
commit
943cfe8fdf
@ -88,7 +88,6 @@ cd $WD
|
||||
|
||||
# install other junk
|
||||
sudo cp MainIcon.png /usr/share/icons/universal-editor.png
|
||||
sudo cp net.alcetech.UniversalEditor.desktop /usr/share/applications
|
||||
|
||||
# start the build
|
||||
msbuild
|
||||
|
||||
15
install.sh
Executable file
15
install.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
cp MainIcon.png /usr/share/icons/universal-editor.png
|
||||
cp net.alcetech.UniversalEditor.desktop /usr/share/applications
|
||||
|
||||
mkdir /usr/lib/universal-editor
|
||||
cp -r Output/Debug/* /usr/lib/universal-editor
|
||||
|
||||
cp universal-editor /usr/lib/universal-editor
|
||||
|
||||
echo "#!/bin/sh
|
||||
|
||||
cd /usr/lib/universal-editor
|
||||
./universal-editor ${1+\"$@\"}
|
||||
" > /usr/bin/universal-editor
|
||||
@ -3,4 +3,4 @@ FLAVOR=Debug
|
||||
APPNAME=UniversalEditor
|
||||
|
||||
cd Output/$FLAVOR
|
||||
mono $APPNAME.exe
|
||||
mono $APPNAME.exe ${1+"$@"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user