[10:48:32.3689083] [Info] Program::Main Launching Awake... [10:48:32.4379499] [Info] Program::Main 0.85.0.0 [10:48:32.4383706] [Info] Program::Main Build: PROMETHEAN_09082024 [10:48:32.4410946] [Info] Program::Main OS: Microsoft Windows NT 10.0.26100.0 [10:48:32.6067510] [Info] Program::Main OS Build: Windows 10 Pro for Workstations 24H2 26100.1.amd64fre.ge_release.240331-1435 [10:48:33.1422989] [Info] Program::Main {} [10:48:33.1426484] [Info] Program::Main Parsing parameters... [10:48:33.3132605] [Info] Program::HandleCommandLineArguments Starting with PID binding. [10:48:33.3154138] [Info] Program::HandleCommandLineArguments The value for --use-pt-config is: True [10:48:33.3158246] [Info] Program::HandleCommandLineArguments The value for --display-on is: True [10:48:33.3161270] [Info] Program::HandleCommandLineArguments The value for --time-limit is: 0 [10:48:33.3166500] [Info] Program::HandleCommandLineArguments The value for --pid is: 13420 [10:48:33.3170177] [Info] Program::HandleCommandLineArguments The value for --expire-at is: [10:48:33.3172977] [Info] Program::HandleCommandLineArguments The value for --use-parent-pid is: False [10:48:33.3214109] [Info] <>c__DisplayClass17_0::b__0 Thread execution is on: 5 [10:48:33.3219434] [Info] Program::HandleCommandLineArguments Reading configuration file: C:\Users\jxh\AppData\Local\Microsoft\PowerToys\Awake\settings.json [10:48:33.5014148] [Info] <>c__DisplayClass13_0::b__1 Created HWND for the window: 66522 [10:48:33.5145048] [Info] TrayHelper::SetShellIcon Could not set the shell icon. Action: Add and error code: -2147467259. HIcon handle is 263127 and HWnd is 66522 [10:48:33.5178948] [Info] <>c__DisplayClass17_0::b__0 Thread execution is on: 5 [10:48:33.6324301] [Info] Program::ProcessSettings Identified custom time shortcuts for the tray: 0 [10:48:33.6373242] [Info] Manager::SetTimedKeepAwake Timed keep-awake. Expected runtime: 7200 seconds with display on setting set to True. [10:48:33.6553028] [Info] Manager::CancelExistingThread Attempting to ensure that the thread is properly cleaned up... [10:48:33.6763159] [Info] Manager::CancelExistingThread Instantiating of new token source and thread token completed. [10:48:33.6771572] [Info] Manager::SetTimedKeepAwake Timed keep awake started for 7200 seconds. [10:48:33.6783199] [Info] TrayHelper::SetShellIcon Could not set the shell icon. Action: Update and error code: -2147467259. HIcon handle is 525301 and HWnd is 66522 [10:48:33.6789299] [Error] Program::ProcessSettings [10:48:33.6791287] [Info] <>c::b__17_0 Setting state to ES_CONTINUOUS There was a problem reading the configuration file. Error: System.ComponentModel.Win32Exception Failed to change tray icon. Action: Update and error code: -2147467259 [10:48:33.6799894] [Info] Program::HandleCommandLineArguments Bound to target process while also using PowerToys settings: 13420 [10:48:33.6802543] [Info] <>c::b__17_0 Setting state to ES_SYSTEM_REQUIRED, ES_DISPLAY_REQUIRED, ES_CONTINUOUS [11:19:25.8680868] [Info] Program::Exit 收到结束进程的信号。请确保退出... [11:19:25.8701166] [Info] Manager::SetPassiveKeepAwake Operating in passive mode (computer's standard power plan). No custom keep awake settings enabled. [11:19:25.8713277] [Info] Manager::CancelExistingThread Attempting to ensure that the thread is properly cleaned up... [11:19:25.8715956] [Info] Manager::CancelExistingThread Instantiating of new token source and thread token completed. [11:19:25.8717389] [Info] <>c::b__17_0 Setting state to ES_CONTINUOUS [11:19:25.8762137] [Info] TrayHelper::SetShellIcon Could not set the shell icon. Action: Update and error code: -2147467259. HIcon handle is 132036 and HWnd is 66522 [11:19:25.8996745] [Error] Program::AwakeUnhandledExceptionCatcher System.ComponentModel.Win32Exception (0x80004005): Failed to change tray icon. Action: Update and error code: -2147467259 at Awake.Core.TrayHelper.SetShellIcon(IntPtr hWnd, String text, Icon icon, TrayIconAction action) at Awake.Core.Manager.SetPassiveKeepAwake(Boolean updateSettings) at Awake.Core.Manager.CompleteExit(Int32 exitCode) at Awake.Program.Exit(String message, Int32 exitCode) at Awake.Program.<>c__DisplayClass20_0.b__0() [11:19:25.9001452] [Error] Program::AwakeUnhandledExceptionCatcher at Awake.Core.TrayHelper.SetShellIcon(IntPtr hWnd, String text, Icon icon, TrayIconAction action) at Awake.Core.Manager.SetPassiveKeepAwake(Boolean updateSettings) at Awake.Core.Manager.CompleteExit(Int32 exitCode) at Awake.Program.Exit(String message, Int32 exitCode) at Awake.Program.<>c__DisplayClass20_0.b__0() [11:19:33.9598360] [Info] Program::Main Launching Awake... [11:19:33.9626634] [Info] Program::Main 0.85.0.0 [11:19:33.9627329] [Info] Program::Main Build: PROMETHEAN_09082024 [11:19:33.9635056] [Info] Program::Main OS: Microsoft Windows NT 10.0.26100.0 [11:19:33.9687734] [Info] Program::Main OS Build: Windows 10 Pro for Workstations 24H2 26100.1.amd64fre.ge_release.240331-1435 [11:19:33.9901288] [Info] Program::Main {} [11:19:33.9902201] [Info] Program::Main Parsing parameters... [11:19:34.0205424] [Info] Program::HandleCommandLineArguments Starting with PID binding. [11:19:34.0209291] [Info] Program::HandleCommandLineArguments The value for --use-pt-config is: True [11:19:34.0209947] [Info] Program::HandleCommandLineArguments The value for --display-on is: True [11:19:34.0210452] [Info] Program::HandleCommandLineArguments The value for --time-limit is: 0 [11:19:34.0210952] [Info] Program::HandleCommandLineArguments The value for --pid is: 13420 [11:19:34.0211377] [Info] Program::HandleCommandLineArguments The value for --expire-at is: [11:19:34.0211836] [Info] Program::HandleCommandLineArguments The value for --use-parent-pid is: False [11:19:34.0228667] [Info] <>c__DisplayClass17_0::b__0 Thread execution is on: 5 [11:19:34.0246662] [Info] Program::HandleCommandLineArguments Reading configuration file: C:\Users\jxh\AppData\Local\Microsoft\PowerToys\Awake\settings.json [11:19:34.0267042] [Info] <>c__DisplayClass13_0::b__1 Created HWND for the window: 197602 [11:19:34.0331173] [Info] <>c__DisplayClass17_0::b__0 Thread execution is on: 5 [11:19:34.2168469] [Info] Program::ProcessSettings Identified custom time shortcuts for the tray: 0 [11:19:34.2183190] [Info] Manager::SetTimedKeepAwake Timed keep-awake. Expected runtime: 7200 seconds with display on setting set to True. [11:19:34.2228976] [Info] Manager::CancelExistingThread Attempting to ensure that the thread is properly cleaned up... [11:19:34.2235493] [Info] Manager::CancelExistingThread Instantiating of new token source and thread token completed. [11:19:34.2236761] [Info] Manager::SetTimedKeepAwake Timed keep awake started for 7200 seconds. [11:19:34.2253205] [Info] <>c::b__17_0 Setting state to ES_CONTINUOUS [11:19:34.2256756] [Info] <>c::b__17_0 Setting state to ES_SYSTEM_REQUIRED, ES_DISPLAY_REQUIRED, ES_CONTINUOUS [11:19:34.2354614] [Info] Program::HandleCommandLineArguments Bound to target process while also using PowerToys settings: 13420