From 8110d9061bd3cad4b3727c4410112bfdbe0528d6 Mon Sep 17 00:00:00 2001 From: Haidong Zhu Date: Tue, 9 Jul 2024 14:35:56 +0800 Subject: [PATCH] Update leakless dir --- leakless.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leakless.go b/leakless.go index 85cc37b..d3f423a 100644 --- a/leakless.go +++ b/leakless.go @@ -102,7 +102,7 @@ func (l *Launcher) serve(uid string) string { return srv.Addr().String() } -var leaklessDir = filepath.Join(os.TempDir(), "leakless-"+shared.Version) +var leaklessDir = filepath.Join(os.TempDir(), fmt.Sprintf("leakless-%s-%s", runtime.GOARCH, shared.Version)) // GetLeaklessBin returns the executable path of the guard, if it doesn't exists create one. func GetLeaklessBin() string {