From 517c65b790225d8531eaa7f1cb15e12ed83c5edc Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 24 Jul 2024 20:55:42 +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 9579c5fac..761dbf218 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: