improved setup on linux w/ desktop shortcuts and launcher
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Version=1.0
|
||||
#Name[en_US]=Librography
|
||||
Name=Librography
|
||||
Comment=Librography Library Manager
|
||||
#Exec=command arguments
|
||||
Exec= sh /opt/Librography/Librography.sh
|
||||
Categories=Application;Office;Education;
|
||||
Type=Application
|
||||
#Icon=/path/to/custom/icon
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
pwd
|
||||
java -jar /opt/Librography/Librography.jar
|
||||
@@ -1,13 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
sudo rm -rf /opt/Librography
|
||||
mkdir /opt
|
||||
sudo pacman -S 7zip
|
||||
sudo pacman -S p7zip
|
||||
sudo 7z x ../setup/data -o/opt/ -aoa
|
||||
sudo chown root -R /opt/Librography
|
||||
sudo chmod 777 -R /opt/
|
||||
sudo chmod 777 -R /opt/Librography
|
||||
cp DBType /opt/Librography/
|
||||
#touch /opt/Librography/DBType
|
||||
#echo "mysql" >> /opt/Librography/DBType
|
||||
#sed -i 's/^[^0-9]*//' /opt/Librography/DBType
|
||||
cp ../dist/Librography.jar /opt/Librography/
|
||||
cp Librography.sh /opt/Librography/
|
||||
sudo chmod a+rx /opt/Librography/Librography.jar
|
||||
|
||||
#pause
|
||||
|
||||
Reference in New Issue
Block a user