remove auth file before re-writting
This commit is contained in:
parent
dadf5f641b
commit
aed69860de
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user