From aed69860ded7f63c578bcc102e5b548bca0c3d17 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 26 Nov 2024 15:52:29 -0700 Subject: [PATCH] remove auth file before re-writting --- fclauncher/app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/fclauncher/app.go b/fclauncher/app.go index da33797..f2b3731 100644 --- a/fclauncher/app.go +++ b/fclauncher/app.go @@ -90,6 +90,7 @@ func (a *App) CheckPrerequisites() { return } } + os.Remove(filepath.Join(dir, "FCLauncher", "authentication.json")) os.MkdirAll(filepath.Join(dir, "FCLauncher"), 0755) f, _ := os.OpenFile(filepath.Join(dir, "FCLauncher", "authentication.json"), os.O_CREATE|os.O_RDWR, 0755) defer f.Close()