Skip to content

Commit

Permalink
fix: chrome应用加载多个插件不生效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Halo1236 authored and BaiJiangJie committed May 13, 2024
1 parent 52c9058 commit 77caa55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/terminal/applets/chrome/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,7 @@ def __init__(self, *args, **kwargs):
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):
Expand Down

0 comments on commit 77caa55

Please sign in to comment.