Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/KorryKatti/Thunder
Browse files Browse the repository at this point in the history
  • Loading branch information
KorryKatti committed Mar 14, 2024
1 parent dc4d0d0 commit a715fb3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ def main():
# Copy files from update to the current directory
copy_files(update_dir, os.path.dirname(__file__))

# Display "Done" message
print("Done")

# Launch index.py
subprocess.run(["python", "index.py"])
# Execute shell script to activate environment and install requirements
if sys.platform == 'win32': # Windows
subprocess.run(["cmd", "/c", "activate_env.bat"], shell=True)
else: # Unix-like OS (Linux/Mac)
subprocess.run(["bash", "-c", "source activate_env.sh"], shell=True)

if __name__ == "__main__":
main()

0 comments on commit a715fb3

Please sign in to comment.