Bugfix for symlinks
This commit is contained in:
1 parent
2836f43ef6
commit
cf3fe25c9a
1 file changed
+3
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user