-
-
Notifications
You must be signed in to change notification settings - Fork 291
Closed
Description
Description
Sometimes, after BatteryStatusChanged, TimeSwitchModule is also triggered (with weird params), which leads to duplication of scripts.
- Automatic theme switch: disabled
- Device unplugged Dark Theme switch: enabled
2023-10-13 15:38:33 | Info | ThemeManager.UpdateTheme: dark theme switch performed, source: BatteryStatusChanged
2023-10-13 15:38:36 | Info | ThemeManager.UpdateTheme: dark theme switch performed, source: TimeSwitchModule, sunset: 01/01/0001 12:00:00 am
My script detected the duplicate and returned ## MULTI ##:
2023-10-13 15:38:38 | Info | ScriptHandler.Launch: ===== scripts_loader (ANY) ====='s output: ##### MULTI #####
How often does this happen?
It seems more like random thing. Maybe about once in ten times.
Expected Behavior
No response
Log Data
2023-10-13 15:38:28 | Info | SystemEventHandler.PowerManager_BatteryStatusChanged: battery discharging, enabling dark mode
2023-10-13 15:38:28 | Info | ComponentManager.GetComponentsToUpdate: components queued for update: [ScriptSwitch]
2023-10-13 15:38:28 | Info | ThemeManager.UpdateTheme: dwm management: full refresh requested by user
2023-10-13 15:38:28 | Info | ScriptHandler.Launch: running ===== scripts_loader (ANY) =====: "powershell" "-ExecutionPolicy" "Bypass" "-File" ".\#scripts_loader.ps1" "Dark"
2023-10-13 15:38:33 | Info | Tm2Handler.SetTheme: applied theme ADMUnmanagedDark, from origin: C:\Users\wz\AppData\Local\Microsoft\Windows\Themes\dark.theme directly via IThemeManager2
2023-10-13 15:38:33 | Info | ThemeManager.UpdateTheme: dark theme switch performed, source: BatteryStatusChanged
2023-10-13 15:38:36 | Info | ComponentManager.GetComponentsToUpdate: components queued for update: [ScriptSwitch]
2023-10-13 15:38:36 | Info | ThemeManager.UpdateTheme: dwm management: no refresh required
2023-10-13 15:38:36 | Info | ScriptHandler.Launch: running ===== scripts_loader (ANY) =====: "powershell" "-ExecutionPolicy" "Bypass" "-File" ".\#scripts_loader.ps1" "Dark"
2023-10-13 15:38:36 | Info | ThemeManager.UpdateTheme: dark theme switch performed, source: TimeSwitchModule, sunset: 01/01/0001 12:00:00 am
2023-10-13 15:38:38 | Info | ScriptHandler.Launch: ===== scripts_loader (ANY) ====='s output: ##### MULTI #####
2023-10-13 15:38:38 | Info | ScriptSwitch.HandleSwitch: update info - previous: Light, now: Dark
2023-10-13 15:38:38 | Info | ScriptHandler.Launch: ===== scripts_loader (ANY) ====='s output: SUCCESS: The process "explorer.exe" with PID 4624 has been terminated.
2023-10-13 15:38:38 | Info | ScriptSwitch.HandleSwitch: update info - previous: Light, now: Dark
Commit Hash, Version and Windows Build
- Commit:
cf7a0fe - Service/App:
10.4.1.1 - Updater:
3.1.4 - Shell:
1.3.3.0 - .Net:
7.0.5 - Windows:
19045.3448
Screenshots / Videos
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels