This commit is contained in:
cdle
2023-06-08 07:40:09 +08:00
parent d9872f1ce5
commit b20bbe0f7d
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -436,6 +436,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)
}
func EncryptPlugin(script string) string {