Skip to content

Commit

Permalink
Update updater.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KorryKatti committed Mar 14, 2024
1 parent 3aa9432 commit e89402a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ def main():

if os.name == 'posix': # Unix-like OS (Linux/Mac)
os.system("source myenv/bin/activate")
# Install requirements
os.system("pip install -r requirements.txt")
elif os.name == 'nt': # Windows
os.system("myenv\\Scripts\\activate.bat")
# Install requirements
os.system("pip install -r requirements.txt")

# Install requirements
os.system("pip install -r requirements.txt")


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

0 comments on commit e89402a

Please sign in to comment.