feat: add backend configuration and windows utilities, and initialize frontend dependencies

This commit is contained in:
jahruz67
2026-05-15 10:39:30 -07:00
parent e645102d3a
commit b0f4ea3e6f
43 changed files with 931 additions and 541 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ func AddToStartup() error {
}
defer key.Close()
if err := key.SetStringValue(appName, exePath); err != nil {
// Quote the path to handle spaces correctly and prevent execution hijacking
quotedPath := fmt.Sprintf("\"%s\"", exePath)
if err := key.SetStringValue(appName, quotedPath); err != nil {
return fmt.Errorf("failed to set registry value: %w", err)
}