Skip to content

Commit

Permalink
feat: support no close after killing process
Browse files Browse the repository at this point in the history
  • Loading branch information
Avivbens committed Jun 11, 2024
1 parent 4036b99 commit d59718a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false></false>
<true></true>
</dict>
</array>
<key>FA64DD3E-B353-4804-9783-DB856D8D2C4C</key>
Expand Down
2 changes: 1 addition & 1 deletion src/main/open-chrome-profile-by-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const execPrm = promisify(exec)
incognito = false,
}: { profile: string; url: string; incognito: boolean } = JSON.parse(alfredClient.input)

const command = `open -na 'Google Chrome' --args ${
const command = `open -g -na 'Google Chrome' --args ${
incognito ? '--incognito' : ''
} --profile-directory='${profile}' '${url}'`
await execPrm(command)
Expand Down

0 comments on commit d59718a

Please sign in to comment.