fix(paths): add browser paths for Arc & Dia on macos (#1814)

Co-authored-by: Aaron <aaronklinker1@gmail.com>
This commit is contained in:
Sam Carlton
2025-08-03 09:24:39 -05:00
committed by GitHub
parent 87414d7137
commit bdfb6c5a84
+14
View File
@@ -1,11 +1,13 @@
export type BrowserPlatform = 'windows' | 'mac' | 'linux';
export type KnownTarget =
| 'arc'
| 'chromium'
| 'chrome'
| 'chrome-beta'
| 'chrome-dev'
| 'chrome-canary'
| 'dia'
| 'edge'
| 'edge-beta'
| 'edge-dev'
@@ -21,6 +23,11 @@ export const KNOWN_BROWSER_PATHS: Record<
> = {
// Chromium based targets
arc: {
mac: ['/Applications/Arc.app/Contents/MacOS/Arc'],
linux: [],
windows: [],
},
chromium: {
mac: [],
linux: [
@@ -55,6 +62,11 @@ export const KNOWN_BROWSER_PATHS: Record<
linux: [],
windows: [],
},
dia: {
mac: ['/Applications/Dia.app/Contents/MacOS/Dia'],
linux: [],
windows: [],
},
edge: {
mac: [],
linux: [],
@@ -116,10 +128,12 @@ export const KNOWN_BROWSER_PATHS: Record<
*/
export const FALLBACK_TARGETS: Partial<Record<KnownTarget, KnownTarget[]>> = {
chrome: [
'arc',
'chromium',
'chrome-canary',
'chrome-beta',
'chrome-dev',
'dia',
'edge',
'edge-canary',
'edge-beta',