This commit is contained in:
jinnrry committed 2024-03-01 21:50:13 +08:00
1 parent e1829bdc56
commit 956e836e51
2 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ func Init() {
pluginNo := 1
filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
if info != nil && !info.IsDir() && !strings.Contains(info.Name(), ".") {
if info != nil && !info.IsDir() && (!strings.Contains(info.Name(), ".") || strings.Contains(info.Name(), ".exe")) {
socketPath := fmt.Sprintf("%s/%d.socket", root, pluginNo)