Removed debug stuff

main
YandolsZX 2 years ago
parent 5b9b9488ae
commit ec10a1856a
  1. 6
      chatterino_process_monitor.py

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

Loading…
Cancel
Save