diff --git a/main.go b/main.go index 75ce461..b0c7d98 100644 --- a/main.go +++ b/main.go @@ -77,6 +77,9 @@ func checkActs() (map[string]string, int) { } func selectActive(acctpath string) { + os.Remove("headers.txt") + os.Remove("amazon-api.json") + os.Remove("amazon-bearer.json") err := os.Symlink(path.Join(acctpath, "headers.txt"), "headers.txt") os.Symlink(path.Join(acctpath, "amazon-api.json"), "amazon-api.json") os.Symlink(path.Join(acctpath, "amazon-bearer.json"), "amazon-bearer.json")