Skip to content

Commit

Permalink
Works better with .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
itzCozi committed Jun 13, 2023
1 parent cdbb16e commit a6c8757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/safeguard-files/prechecks.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def preRun():
if not os.path.exists(Files.tronPath):
install('http://www.bmrf.org/repos/tron/Tron%20v12.0.5%20(2023-02-02).exe', Files.tronPathFolder, 'tron.exe')
# Here i am trying to make the tron setup file extract tron to the resources directory
os.system(f'powershell cd {Files.tronPathFolder} ; start {Files.tronPathFolder}/tron.exe')
os.popen(f'powershell cd {Files.tronPathFolder} ; start {Files.tronPathFolder}/tron.exe')
with open(Files.logFile, 'a') as f:
f.write(f'Program file [{Files.tronPath}] !REDOWNLOADED! - AT: {globals.now}')
if globals.debug:
Expand Down

0 comments on commit a6c8757

Please sign in to comment.