Pi66

pixel-tool
Small Python utilities to debloat windows.
git clone https://git.pi66.xyz/pixel-tool

← back to log

ui.py

author: Pixel2175
date: 2024-09-27 08:37
hash: 50948ed275acc48d77e8723e6b1c1b4f6814d1f4

Diffstat:

M

ui.py
2 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
diff --git a/ui.py b/ui.py
index e72f312..e32eecd 100644
--- a/ui.py
+++ b/ui.py
@@ -57,7 +57,7 @@ class Win(tk.CTk):
         self.title("Pixel Tool")


-        self.json_path = "C:\\Users\\vboxuser\\AppData\\Local\\"
+        self.json_path = f"C:\\Users\\{os.getlogin()}\\AppData\\Local\\"
         self.json_file = f"{self.json_path}log.json"