This commit is contained in:
cdle
2023-06-11 14:09:34 +08:00
parent e985e9db8b
commit d408524fd5
4 changed files with 87 additions and 33 deletions
+1
View File
@@ -437,6 +437,7 @@ func SetPluginMethod(vm *goja.Runtime, uuid string, on_start bool, running func(
osjs := getJsOs(vm, running)
vm.Set("os", osjs)
vm.Set("fs", osjs)
vm.Set("forObject", ForeachObject)
}
func EncryptPlugin(script string) string {