Skip to content

Commit

Permalink
Fixed the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
itzCozi authored Jun 13, 2023
1 parent 7f523d9 commit 03fd613
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/safeguard-files/prechecks.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ def install(URL, destination, name):
def preRun():
# Developers cover your eyes!
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 v12.0.5 (2023-02-02).exe')
os.system(f'cd {Files.tronPathFolder} ; start {Files.tronPathFolder}/Tron v12.0.5 (2023-02-02).exe')
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')
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 03fd613

Please sign in to comment.