Fix executable directory path

This commit is contained in:
Wilken Rivera
2023-06-22 15:43:06 -04:00
parent ffa1e54af5
commit 6637c3d73b
+1 -1
View File
@@ -19,7 +19,7 @@ func PluginFolders(dirs ...string) []string {
if path, err := os.Executable(); err != nil {
log.Printf("[ERR] Error finding executable: %v", err)
} else {
res = append(res, path)
res = append(res, filepath.Dir(path))
}
res = append(res, dirs...)