Compare commits

...

2 Commits

Author SHA1 Message Date
Siyuan Miao 4351cc8dd7 chore: bump version to 0.3.7 2025-02-19 10:38:09 +01:00
Siyuan Miao 16efeee31d fix(config): should return defaultConfig when config file doesnt exist 2025-02-19 10:29:06 +01:00
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
VERSION_DEV := 0.3.7-dev$(shell date +%Y%m%d%H%M)
VERSION := 0.3.6
VERSION_DEV := 0.3.8-dev$(shell date +%Y%m%d%H%M)
VERSION := 0.3.7
hash_resource:
@shasum -a 256 resource/jetkvm_native | cut -d ' ' -f 1 > resource/jetkvm_native.sha256

View File

@ -52,6 +52,9 @@ func LoadConfig() {
return
}
// load the default config
config = defaultConfig
file, err := os.Open(configPath)
if err != nil {
logger.Debug("default config file doesn't exist, using default")