small changes
This commit is contained in:
11
main_dev.py
11
main_dev.py
@@ -1,8 +1,15 @@
|
||||
# from src.ui.main_ui import launch
|
||||
|
||||
from updater import Update
|
||||
|
||||
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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user