1. 增加配置持久化

2. 完善细节
This commit is contained in:
sansen
2026-07-29 19:33:46 +08:00
parent 86532cc2e9
commit a53e205bfb
12 changed files with 721 additions and 215 deletions
+16
View File
@@ -0,0 +1,16 @@
//go:build windows
package config
import (
"os"
"path/filepath"
)
func appDataDir() string {
appdata := os.Getenv("APPDATA")
if appdata == "" {
appdata = filepath.Join(os.Getenv("USERPROFILE"), "AppData", "Roaming")
}
return filepath.Join(appdata, "ffmpeg-gui")
}