From ca3a7f93069c45664dcadb8ae4227bfcc210db62 Mon Sep 17 00:00:00 2001 From: fluentmoheshwar Date: Mon, 6 Jan 2025 20:41:31 +0000 Subject: [PATCH] Prettified Code --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index f1fb321..c8ac397 100644 --- a/main.py +++ b/main.py @@ -10,11 +10,13 @@ # Initializes eel eel.init("web") + # sudo setup @eel.expose def winSudo(): os.system("sudo config --enable normal && pause") + @eel.expose def gsudo(): os.system("winget install gerardog.gsudo") @@ -173,8 +175,10 @@ def fKeySender(): f"powershell -Command Start-BitsTransfer -Source {url} -Destination $env:TEMP && %TEMP%\\F_Key_Sender.exe" ) + @eel.expose def titusWinutil(): os.system('sudo powershell -Command "irm https://christitus.com/win | iex"') + eel.start("index.html", mode="edge")