Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions testos.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,17 @@
print("TESTOS Setup has been Completed!!!")
time.sleep(1)
if platform.system() == "Darwin":
os.system("open home.py")
try:
os.system("open -a Python home.py")
except:
if (y := input("Python interpret (d->default): ")) == "d":
pass
else:
os.system(y+ " home.py")
elif platform.system() == "Windows":
os.startfile('home.py')
elif platform.system() == "Linux":
os.system("xdg-open home.py")
os.system("python3 home.py")
else:
print("Host OS unsupported.")
exit()
Expand Down