From 8b7f1231738be1eb6714030e56653cdbfaaf4e21 Mon Sep 17 00:00:00 2001 From: Richie Bendall Date: Mon, 21 Jul 2025 01:25:25 +1200 Subject: [PATCH] Minor tweak --- index.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 43c060a..0c286e3 100644 --- a/index.js +++ b/index.js @@ -319,7 +319,10 @@ function detectPlatformBinary({[platform]: platformBinary}, {wsl}) { return detectArchBinary(platformBinary); } -export const apps = {}; +export const apps = { + browser: 'browser', + browserPrivate: 'browserPrivate', +}; defineLazyProperty(apps, 'chrome', () => detectPlatformBinary({ darwin: 'google chrome', @@ -359,8 +362,4 @@ defineLazyProperty(apps, 'edge', () => detectPlatformBinary({ wsl: '/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe', })); -defineLazyProperty(apps, 'browser', () => 'browser'); - -defineLazyProperty(apps, 'browserPrivate', () => 'browserPrivate'); - export default open;