Commit 7b59d177 authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Fix relative path lookup

parent 95ead8ff
...@@ -40,7 +40,7 @@ func PayloadsDir() (string, error) { ...@@ -40,7 +40,7 @@ func PayloadsDir() (string, error) {
} }
var paths []string var paths []string
for _, root := range []string{appExe, cwd} { for _, root := range []string{filepath.Dir(appExe), cwd} {
paths = append(paths, paths = append(paths,
filepath.Join(root), filepath.Join(root),
filepath.Join(root, "windows-"+runtime.GOARCH), filepath.Join(root, "windows-"+runtime.GOARCH),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment