mirror of https://github.com/jumpserver/jumpserver
fix: chrome应用加载多个插件不生效问题
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