diff options
| author | Jeff Carr <[email protected]> | 2024-02-13 16:16:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-13 16:16:12 -0600 |
| commit | fd7abef300fe3d547bd383843c76268a44ba5184 (patch) | |
| tree | 06b6efb1794cac3a7515be5a1543efac89f16fb3 | |
| parent | 9ccb688abc390d7669f71c45a396579e79b941a8 (diff) | |
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | plugin.go | 12 |
2 files changed, 17 insertions, 0 deletions
@@ -81,6 +81,11 @@ hopefully also things like libSDL, faiface/pixel, slint ## General Thoughts +A primary design purpose for this toolkit is to be able to develop a +modern set of control panels for linux. Specifically a DNS and IPv6 +control panel. Since the toolkit interface plugins are cross platform, +these control panels should be able to run on the Macos and Windows also. + Definitions: ```go @@ -168,6 +168,18 @@ func searchPaths(name string) *aplug { return p } + filename = homeDir + "/go/lib/toolkits/" + name + ".so" + p = initToolkit(name, filename) + if p != nil { + return p + } + + filename = "/usr/lib/go-gui/" + 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 { |
