Add support for /snap/bin/chromium (#4141)

This commit is contained in:
Louis Lam 2023-12-01 14:25:41 +08:00 committed by GitHub
parent 1e75d81bcf
commit 9fb95fe95e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,7 @@ if (process.platform === "win32") {
"/usr/bin/chromium",
"/usr/bin/chromium-browser",
"/usr/bin/google-chrome",
"/snap/bin/chromium", // Ubuntu
];
} else if (process.platform === "darwin") {
// TODO: Generated by GitHub Copilot, but not sure if it's correct