Pi66

pino
Python notification daemon.
git clone https://git.pi66.xyz/pino

← back to log

Updated uninstall

author: pixel2175
date: 2024-12-23 22:53
hash: 59a0961064b48097f0f206308d357a77402dc8a4

Diffstat:

M

uninstall.py
8 ++++--------------------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/uninstall.py b/uninstall.py
index 9e65d81..61b632f 100644
--- a/uninstall.py
+++ b/uninstall.py
@@ -36,17 +36,12 @@ def remove_system_deps():
         os.system("sudo pacman -Rns --noconfirm tk > /dev/null 2>&1")
         print("Remove System Dep: Done")
     elif distro == "void":
-        os.system("sudo xbps-remove -R -y tk > /dev/null 2>&1")
+        os.system("sudo xbps-remove -R -y python3-tkinter tk > /dev/null 2>&1")
         print("Remove System Dep: Done")
     else:
         print("Unsupported distribution. Please install system dependencies manually.")


-def uninstall_libs():
-    os.system(
-    "pip uninstall -r requirements.txt  --yes --quiet --break-system-packages"
-    )
-    print("Remove Libs: Done")


 def remove_files():
@@ -61,5 +56,4 @@ def remove_files():


 remove_system_deps()
-uninstall_libs()
 remove_files()