parent
b88d0641bc
commit
dfbe701b16
|
@ -57,7 +57,7 @@ if __name__ == '__main__':
|
|||
host = serial.Serial('COM3', 9600)
|
||||
|
||||
tray_icon = Image.open(current_path+r'/icon.ico')
|
||||
tray_menu = (item('Volumen', start_sync), item('Exit', exit_everything))
|
||||
tray_menu = (item('Volumen', volumen_mode), item('Exit', exit_everything))
|
||||
icon = pystray.Icon('USB Knob', tray_icon, 'USB Knob', tray_menu)
|
||||
icon.run_detached()
|
||||
|
||||
|
|
Loading…
Reference in New Issue