This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Script to automate the things I do literally every time a new version of Godot comes out | |
1. Extracts godot from the provided zip | |
2. Removes the old version in the install directory and puts the new one there | |
3. Removes the old start menu shortcut and adds a new one | |
""" | |
import os | |
import sys | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Change a laptop's lid close action to "Do Nothing" for both AC and DC for the currently active power plan | |
# if an external display is connected via HDMI. If no HDMI is connected, set the close action to "Sleep" (default) | |
# | |
# Usage: | |
# | |
# ./powercfg-lidaction.ps1 | |
# | |
# ./powercfg-lidaction.ps1 -Query | |
# |