Fix chromium command for M-chip MacBook device
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user