Rebase onto master. Added deply script to unused files folder
This commit is contained in:
39
unused_installation_scripts/Linux/artemis3.svg
Normal file
39
unused_installation_scripts/Linux/artemis3.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 36 KiB |
47
unused_installation_scripts/Linux/deploy_linux.sh
Normal file
47
unused_installation_scripts/Linux/deploy_linux.sh
Normal file
@@ -0,0 +1,47 @@
|
||||
clear
|
||||
echo "
|
||||
===================================
|
||||
Artemis 3 Deploy Script
|
||||
LINUX
|
||||
===================================
|
||||
"
|
||||
|
||||
# Set the correct permissions for Artemis folder
|
||||
echo "Gaining admin privileges and set folder read/write permission..."
|
||||
echo ""
|
||||
sudo chmod 700 $PWD/../../
|
||||
# Download necessary libraries with pip3
|
||||
read -p "Install the necessary Python libraries? [Y,N]..." doit
|
||||
case $doit in
|
||||
y|Y) pip3 install -r requirements_lin.txt --user > log;;
|
||||
esac
|
||||
|
||||
# Generation of shortcut
|
||||
echo ""
|
||||
read -p "Create a desktop shortcut? [Y/N]..." doit
|
||||
case $doit in
|
||||
y|Y)
|
||||
cat << EOR > /home/$USER/.local/share/applications/artemis.desktop
|
||||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Name=Artemis
|
||||
StartupWMClass=artemis3
|
||||
Exec=sh -c "cd $PWD/../../ && python3 artemis.py"
|
||||
Terminal=False
|
||||
Icon=artemis3
|
||||
Type=Application
|
||||
EOR
|
||||
sudo cp ./artemis3.svg /usr/share/icons/
|
||||
echo "
|
||||
Link copied in: /home/$USER/.local/share/applications/artemis.desktop
|
||||
Icon copied in: /usr/share/icons/artemis3.svg
|
||||
"
|
||||
;;
|
||||
n|N) ;;
|
||||
*) echo "invalid option $REPLY";;
|
||||
esac
|
||||
echo "
|
||||
================================
|
||||
SETTING COMPLETE
|
||||
================================
|
||||
"
|
||||
7
unused_installation_scripts/Linux/requirements_lin.txt
Normal file
7
unused_installation_scripts/Linux/requirements_lin.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
pandas>=0.24.2
|
||||
certifi>=2019.6.16
|
||||
aiohttp>=3.5.4
|
||||
pygame>=1.9.6
|
||||
QtAwesome>=0.5.7
|
||||
urllib3>=1.25.3
|
||||
PyQt5>=5.12.3
|
||||
Reference in New Issue
Block a user