diff options
| author | Jeff Carr <[email protected]> | 2024-02-01 21:52:14 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-01 21:52:14 -0600 |
| commit | 0fa82b49bc15882d085c0893fa2cdafb32b25cb8 (patch) | |
| tree | 0bccd5cd987b8a02c3c86dd44036e42bccb6df42 | |
| parent | df59065b222849827bb3bfd87e0d57ed1f051dac (diff) | |
look in ~/go/lib for plugins
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | plugin.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -154,6 +154,13 @@ func searchPaths(name string) *aplug { return p } + // this is the "default" location when built with the autotypist + filename = homeDir + "/go/lib/" + name + ".so" + p = initToolkit(name, filename) + if p != nil { + return p + } + filename = "/usr/lib/go-gui/latest/" + name + ".so" p = initToolkit(name, filename) if p != nil { |
