From 9d6879d334f0d4fe4ec63d31dfe0c94d7be34e4d Mon Sep 17 00:00:00 2001 From: Tianbao Xie <47296835+Timothyxxx@users.noreply.github.com> Date: Fri, 29 Nov 2024 20:00:01 +0800 Subject: [PATCH] Fix chromium command for M-chip MacBook device --- desktop_env/server/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_env/server/main.py b/desktop_env/server/main.py index 508ef50..f4107d2 100644 --- a/desktop_env/server/main.py +++ b/desktop_env/server/main.py @@ -143,7 +143,7 @@ def launch_app(): try: if 'google-chrome' in command and _get_machine_architecture() == 'arm': index = command.index('google-chrome') - command[index] = 'chromium-browser' # arm64 chrome is not available yet, can only use chromium + command[index] = 'chromium' # arm64 chrome is not available yet, can only use chromium subprocess.Popen(command, shell=shell) return "{:} launched successfully".format(command if shell else " ".join(command)) except Exception as e: