You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
YandolsZX
2dcd14dc17
|
2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
chatterino_process_monitor.py | 2 years ago | |
icon.png | 2 years ago | |
settings.ini | 2 years ago |
README.md
Chatterino Restarter Script
A simple python script to check if Chatterino is running and start it if its not. I made this because Chatterino always crashes while I am away and that's really annoying.
How it works
- The script sits in the background (in a terminal window for now, just minimize it or something).
- It checks if Chatterino is running or not.
- If Chatterino is not running, start it through the configured path.
- If Chatterino is currently running, do nothing.
- After 10 minutes, repeat again from Step 2.
Why 10 Minutes?
So that your CPU won't be burdened with constant process checking. It won't consume any CPU processing power while it's idle and waiting for the 10 minutes to be up. If you want, you can change the check to however often you want.
Configuration
- See Line 42 if your
Chatterino.exe
is non-standard. - See Line 43 to change the path to where your Chatterino is installed.
- See Line 58 if you want to make the check more frequent or the opposite.
Todos
- Make System Tray Icon actually work