mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-19 19:52:17 +00:00
fix: chrome应用加载多个插件不生效问题
This commit is contained in:
parent
52c905832b
commit
77caa5536f
@ -247,8 +247,7 @@ class AppletApplication(BaseApplication):
|
||||
if protocol_setting and protocol_setting.safe_mode:
|
||||
# 加载 extensions
|
||||
extension_paths = load_extensions()
|
||||
for extension_path in extension_paths:
|
||||
self._chrome_options.add_argument('--load-extension={}'.format(extension_path))
|
||||
self._chrome_options.add_argument('--load-extension={}'.format(','.join(extension_paths)))
|
||||
|
||||
@wrapper_progress_bar
|
||||
def run(self):
|
||||
|
Loading…
Reference in New Issue
Block a user