Skip to content

Commit

Permalink
Update updater.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KorryKatti authored Mar 14, 2024
1 parent a715fb3 commit 58e5979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def main():

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

if __name__ == "__main__":
main()

0 comments on commit 58e5979

Please sign in to comment.