This commit is contained in:
2025-01-09 15:15:18 +01:00
parent 6316fc72ab
commit e915b47dda
7 changed files with 123 additions and 80 deletions

View File

@@ -1,15 +1,4 @@
# from src.ui.main_ui import launch
from src.ui.main_ui import launch
from src.updater import Update
import os
if __name__ == "__main__":
Update()
with open("config/.updater", "r") as f:
contents = f.read().splitlines()
command = [line for line in contents if "command" in line][0].split(":")[1]
if "~" in command:
command = command.replace("~", str(os.getcwd()))
os.system(command)
# launch("--debug")
launch("--debug")