🎨 Optimize code

This commit is contained in:
2025-06-22 15:08:38 +08:00
parent 35c89e086e
commit eb9b037f8e
22 changed files with 937 additions and 1906 deletions

View File

@@ -184,7 +184,7 @@ func (w *WindowsStartupImpl) SetEnabled(enabled bool) error {
}
}
// setRegistryStartup 设置注册表启动项(备用方法)
// setRegistryStartup 设置注册表启动项
func (w *WindowsStartupImpl) setRegistryStartup(enabled bool) error {
key, err := w.openRegistryKey()
if err != nil {