Skip to content

An easy Shutdown/Standby Timer written in Python - By CybaNinja

License

Notifications You must be signed in to change notification settings

Rabtos/Shutdown-Standby-Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Shutdown-Standby-Timer

An easy Shutdown/Standby Timer written in Python - By CybaNinja

Build with Python. HowTo:

  1. Download the CleanFiles.rar and Extract anywhere.
  2. Open the folder with the 3 files (.py file, .wav file, .ico file) - You can change the .wav and .ico file to whatever you like!
  3. Right click on empty space in the folder -> Open in Terminal
  4. Paste this: pyinstaller --onefile --windowed --add-data "icon.ico;." --add-data "alert.wav;." --icon=icon.ico --hidden-import PySide6.QtGui --hidden-import PySide6.QtWidgets --hidden-import PySide6.QtCore --hidden-import PySide6.QtNetwork --hidden-import PySide6.QtPrintSupport shutdown_timer_0.9.4.py in the Terminal and hit Enter.
  5. You can find the new built .exe in the "dist" folder.
  6. Copy the .exe whereever you like and run it (it's portable and doesn't need any other files).
  7. Done!

//////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// ////////////

If you get errors while building, make sure Python 3.15 is installed and that the required Python packages such as PySide6 are installed via pip. HowTo:

  1. Press → Win + R
  2. Type → CMD
  3. Type → python --version
    → If it's not 3.15 or Python is not found, download and install Python 3.15 from: https://www.python.org/downloads/release/python-3150/
  4. Then run → pip install PySide6
  5. Done - you now can Build with Python!

//////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// ////////////

For the "icon.ico" you can use the Icon generator: https://www.icoconverter.com/

For the "alert.wav" you can just use any .wav file from example here: https://pixabay.com/sound-effects/search/wav/

Else: Just make 2 empty .txt files and rename one to icon.ico and one to alert.wav if you don't want to get your own alert and icon files.

About

An easy Shutdown/Standby Timer written in Python - By CybaNinja

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages