新增: 壁纸切换(主题/本地图片/Bing/纯色渐变)

This commit is contained in:
2026-05-25 19:54:32 +08:00
parent a804db3579
commit bb1574641f
14 changed files with 868 additions and 395 deletions

View File

@@ -25,9 +25,9 @@ func main() {
defer windows.CloseHandle(mutex)
exePath, _ := os.Executable()
configDir := filepath.Join(filepath.Dir(exePath), "config")
os.MkdirAll(configDir, 0755)
configPath = filepath.Join(configDir, "settings.json")
cfgDir := filepath.Join(filepath.Dir(exePath), "config")
os.MkdirAll(cfgDir, 0755)
configPath = filepath.Join(cfgDir, "settings.json")
procSetProcessDPIAware.Call()
systray.Run(onSystrayReady, nil)
}