summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autologin.sh4
-rwxr-xr-xtermostato.py6
2 files changed, 6 insertions, 4 deletions
diff --git a/autologin.sh b/autologin.sh
index 939b57a..f7135b3 100644
--- a/autologin.sh
+++ b/autologin.sh
@@ -46,3 +46,7 @@ chown $username:$username /home/$username/appstart
sudo systemctl disable sddm.service
sudo usermod -a -G tty $username
sudo usermod -a -G video $username
+
+echo "Don't forget to turn off Splash Screen under Boot section"
+read
+sudo raspi-config
diff --git a/termostato.py b/termostato.py
index a91af56..55f38fc 100755
--- a/termostato.py
+++ b/termostato.py
@@ -12,14 +12,12 @@ except:
try:
from tkinter import messagebox
messagebox.showinfo("Installazione, attendi prego", "Sto per installare le librerie grafiche e ci vorrà del tempo. Premi Ok e vai a prenderti un caffè.")
- pip.main(["install", "--index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/", "pyside2", "--trusted-host", "download.qt.io"])
- #pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/ pyside2 --trusted-host download.qt.io
- #pip install PySide2
+ pip.main(["install", "PySide2"])
from PySide2.QtWidgets import QApplication
except:
try:
from pip._internal import main
- main(["install", "--index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/", "pyside2", "--trusted-host", "download.qt.io"])
+ main(["install", "PySide2"])
from PySide2.QtWidgets import QApplication
except:
sys.exit(1)