Skip to content

Commit a867588

Browse files
committed
feat: support no close after opening bookmark
1 parent 4036b99 commit a867588

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<key>modifiersubtext</key>
1919
<string></string>
2020
<key>vitoclose</key>
21-
<false></false>
21+
<true></true>
2222
</dict>
2323
</array>
2424
<key>FA64DD3E-B353-4804-9783-DB856D8D2C4C</key>

src/main/open-chrome-profile-by-url.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const execPrm = promisify(exec)
1313
incognito = false,
1414
}: { profile: string; url: string; incognito: boolean } = JSON.parse(alfredClient.input)
1515

16-
const command = `open -na 'Google Chrome' --args ${
16+
const command = `open -g -na 'Google Chrome' --args ${
1717
incognito ? '--incognito' : ''
1818
} --profile-directory='${profile}' '${url}'`
1919
await execPrm(command)

0 commit comments

Comments
 (0)