check if fullvod exists; store config in UserConfigDir
All checks were successful
/ build-linux-amd64 (push) Successful in 1m10s

This commit is contained in:
ari melody 2026-01-31 02:28:09 +00:00
parent c3dc6f095e
commit e8a6f4208c
Signed by: ari
GPG key ID: CF99829C92678188
4 changed files with 60 additions and 13 deletions

View file

@ -33,7 +33,7 @@ var defaultConfig = Config{
},
}
const CONFIG_FILENAME = "config.toml"
var CONFIG_FILENAME string = "config.toml"
func ReadConfig(filename string) (*Config, error) {
cfgBytes, err := os.ReadFile(filename)