mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-11 04:46:06 +00:00
plugin_framework, test plugin manager, uninstall is not fully tested
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
4ee0fd9676
commit
095ac46255
12 files changed
+327
-116
No files matched your search
+1
-1
@@ -245,7 +245,7 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
if args[0] == "--plugin-install" {
|
||||
if args.len() == 3 {
|
||||
crate::plugin::privileged_install_plugin(&args[1], &args[2]);
|
||||
crate::plugin::install_plugin_with_url(&args[1], &args[2]);
|
||||
}
|
||||
return None;
|
||||
} else if args[0] == "--plugin-uninstall" {
|
||||
|
||||
Reference in new issue
Block a user