mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-23 15:13:01 +00:00
plugin_framework, manager, install plugin
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
6f5ff0ac0e
commit
db71dd039d
21 files changed
+1078
-372
No files matched your search
@@ -280,7 +280,7 @@ impl ManagerConfig {
|
||||
let enabled = bool::from_str(value).unwrap_or(false);
|
||||
allow_err!(Self::set_plugin_option_enabled(id, enabled));
|
||||
if enabled {
|
||||
allow_err!(super::load_plugin(None, Some(id)));
|
||||
allow_err!(super::load_plugin(id));
|
||||
} else {
|
||||
super::unload_plugin(id);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user