disable restart explorer

This commit is contained in:
gabrielkheisa 2025-04-25 21:43:37 +07:00
parent da93884565
commit c0f53de986
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ You must provide your own `icon.ico` in the same folder — this will be used as
- Time check runs every 60 seconds
- Changing the clock or timezone will trigger a switch automatically
- No admin rights needed
- ⚠️ **Warning:** This program will kill and restart `explorer.exe` to ensure proper theme application after a mode switch. This is necessary because `explorer.exe` can sometimes become buggy and not fully apply the new theme, leaving behind visual artifacts. **Please ensure `explorer.exe` is not performing any sensitive tasks like copying files before a theme switch occurs, as this process will interrupt those operations.**
- ~~⚠️ **Warning:** This program will kill and restart `explorer.exe` to ensure proper theme application after a mode switch. This is necessary because `explorer.exe` can sometimes become buggy and not fully apply the new theme, leaving behind visual artifacts. **Please ensure `explorer.exe` is not performing any sensitive tasks like copying files before a theme switch occurs, as this process will interrupt those operations.**~~
---
## Optional Ideas

View File

@ -95,7 +95,7 @@ func backgroundLoop() {
if newMode != lastMode {
setMode(newMode == "light")
restartExplorer()
// restartExplorer()
lastMode = newMode
}