From 0bcf0465a6f6ee53e297f10f727565ccf18fdd9c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 24 Jul 2024 20:56:15 +0800 Subject: [PATCH] Update plugins_api.py --- class/core/plugins_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/plugins_api.py b/class/core/plugins_api.py index 761dbf218..afdd1c480 100755 --- a/class/core/plugins_api.py +++ b/class/core/plugins_api.py @@ -480,7 +480,7 @@ class plugins_api: plugin_path = mw.getPluginDir() + '/' + plugin_name if not os.path.exists(plugin_path): print(mw.execShell('mkdir -p ' + plugin_path)) - mw.execShell("\\cp -rf " + tmp_path + '/* ' + plugin_path + '/') + mw.execShell("cp -rf " + tmp_path + '/* ' + plugin_path + '/') mw.execShell('chmod -R 755 ' + plugin_path) p_info = mw.readFile(plugin_path + '/info.json') if p_info: