changed import conventions for plugin names: expr-<scoped-name>; scoped-name = <scope>-<name>

This commit is contained in:
2026-05-22 05:59:46 +02:00
parent ac5c97bfd3
commit 7ed5a806f9
3 changed files with 9 additions and 10 deletions
+2 -2
View File
@@ -33,9 +33,9 @@ func pluginExists(name string) (exists bool) {
func makePluginName(name string) (decorated string) {
var template string
if execName, err := os.Executable(); err != nil || !strings.Contains(execName, "debug") {
template = "expr-%s-plugin%s"
template = "expr-%s%s"
} else {
template = "expr-%s-plugin%s.debug"
template = "expr-%s%s.debug"
}
decorated = fmt.Sprintf(template, name, SHAREDLIBRARY_EXTENSION)
return