Files
LibrarySystem/main_dev.py
2025-01-09 12:52:34 +01:00

16 lines
420 B
Python

# 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")