summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--plugin.go12
2 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 239a334..7d09bd4 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/plugin.go b/plugin.go
index 191c4ee..0a039d5 100644
--- a/plugin.go
+++ b/plugin.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 {