Skip to content

Commit

Permalink
add a script version which can be used at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrlaczykowski committed Jun 7, 2024
1 parent ddeaea2 commit c60a2b6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions update-pc-script-auto.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import sys
from utilities import *
from dell import *

if __name__ == "__main__":
if run_as_admin():
dell()
# Update Winget
winget_upgrade()
# Check if Chocolatey (choco) is installed and perform the necessary actions
choco_upgrade()
# Update Windows
windows_update()
# End of the script
print("Script execution completed.")
else:
sys.exit(0) # Exit if user declines admin privileges

0 comments on commit c60a2b6

Please sign in to comment.