Browse Source

fix: chrome应用加载多个插件不生效问题

pull/13212/head
halo 7 months ago committed by Bryan
parent
commit
77caa5536f
  1. 3
      apps/terminal/applets/chrome/app.py

3
apps/terminal/applets/chrome/app.py

@ -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…
Cancel
Save