Fix #371: add a portable mode option

This commit is contained in:
Drew Weymouth
2024-05-25 08:28:50 -07:00
parent b15feee85f
commit d08b563b8c
4 changed files with 80 additions and 31 deletions
+1 -3
View File
@@ -14,10 +14,8 @@ import (
"fyne.io/fyne/v2/app"
)
const configFile = "config.toml"
func main() {
myApp, err := backend.StartupApp(res.AppName, res.DisplayName, res.AppVersionTag, configFile, res.LatestReleaseURL)
myApp, err := backend.StartupApp(res.AppName, res.DisplayName, res.AppVersionTag, res.LatestReleaseURL)
if err != nil {
log.Fatalf("fatal startup error: %v", err.Error())
}