improved setup on linux w/ desktop shortcuts and launcher

This commit is contained in:
2021-12-05 03:39:35 -03:00
parent 338a61a284
commit 91499a5789
70 changed files with 23 additions and 8302 deletions
+6 -2
View File
@@ -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