Confirm chrome path in macOS is correct (#3950)

This commit is contained in:
Chongyi Zheng 2023-10-27 20:15:49 -04:00 committed by GitHub
parent 9379498b49
commit ddd135efa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,6 @@ if (process.platform === "win32") {
"/usr/bin/google-chrome", "/usr/bin/google-chrome",
]; ];
} else if (process.platform === "darwin") { } else if (process.platform === "darwin") {
// TODO: Generated by GitHub Copilot, but not sure if it's correct
allowedList = [ allowedList = [
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
"/Applications/Chromium.app/Contents/MacOS/Chromium", "/Applications/Chromium.app/Contents/MacOS/Chromium",