This commit is contained in:
1-6
2023-08-09 10:21:56 +08:00
parent 2cbcfa1a5e
commit 70bad0cc52
11 changed files with 725 additions and 129 deletions
+2 -2
View File
@@ -121,7 +121,7 @@ func initPlugins() {
fin = &storage.Final{
Now: storage.EMPTY,
}
}
if isNameUuid(key) {
if new == "install" {
@@ -201,7 +201,7 @@ func initPlugins() {
// fmt.Println(strings.Join(ss, " "))
l := len(ss)
if l > 2 {
go AddNodePlugin(filename, ss[l-1])
go AddNodePlugin(filename, ss[l-1], f.Type)
}
} else {
err := os.WriteFile(filename, []byte(new), 0755)