|
|
|
@ -17,8 +17,8 @@ def is_chatterino_running():
|
|
|
|
|
|
|
|
|
|
# Function to run Chatterino
|
|
|
|
|
def run_program(program_path):
|
|
|
|
|
print("[DEBUG] " + "Dir: " + program_dir + " | " + program_path)
|
|
|
|
|
subprocess.Popen([program_path], cwd=program_dir, shell=True)
|
|
|
|
|
subprocess.Popen([program_path], cwd=program_dir)
|
|
|
|
|
print("Started Chatterino.")
|
|
|
|
|
|
|
|
|
|
# Function to display system tray icon
|
|
|
|
|
def on_quit_callback(icon):
|
|
|
|
@ -39,8 +39,8 @@ if __name__ == '__main__':
|
|
|
|
|
print("Yandols' Chatterino Process Monitor Script")
|
|
|
|
|
|
|
|
|
|
# Set path to Chatterino
|
|
|
|
|
program_dir = "C:\\Program Files\\Chatterino7"
|
|
|
|
|
program_executable = "chatterino.exe"
|
|
|
|
|
program_dir = "C:\\Program Files\\Chatterino7"
|
|
|
|
|
program_path = program_dir + "\\" + program_executable
|
|
|
|
|
|
|
|
|
|
# Create system tray icon
|
|
|
|
|