Skip to content

Commit

Permalink
Fix opening an item's URL when there is more than one
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrosen committed Dec 15, 2024
1 parent 68c2ff0 commit 61c8abf
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 23 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.2.1

* Fix opening an item's URL when there is more than one

## 6.2.0

* Cleanup subtitles for inactive modifiers
Expand Down
50 changes: 27 additions & 23 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -1827,7 +1827,7 @@
<key>modifiers</key>
<integer>1310720</integer>
<key>modifiersubtext</key>
<string>Open {var:url} in default browser</string>
<string>Open {var:default_url} in default browser</string>
<key>vitoclose</key>
<false/>
</dict>
Expand Down Expand Up @@ -1996,6 +1996,25 @@
<key>version</key>
<integer>1</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>externaltriggerid</key>
<string>main</string>
<key>passinputasargument</key>
<true/>
<key>passvariables</key>
<false/>
<key>workflowbundleid</key>
<string>self</string>
</dict>
<key>type</key>
<string>alfred.workflow.output.callexternaltrigger</string>
<key>uid</key>
<string>F7BE8BB5-6184-4BDC-B402-15CEEF529D42</string>
<key>version</key>
<integer>1</integer>
</dict>
<dict>
<key>config</key>
<dict>
Expand Down Expand Up @@ -2029,25 +2048,6 @@
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>externaltriggerid</key>
<string>main</string>
<key>passinputasargument</key>
<true/>
<key>passvariables</key>
<false/>
<key>workflowbundleid</key>
<string>self</string>
</dict>
<key>type</key>
<string>alfred.workflow.output.callexternaltrigger</string>
<key>uid</key>
<string>F7BE8BB5-6184-4BDC-B402-15CEEF529D42</string>
<key>version</key>
<integer>1</integer>
</dict>
<dict>
<key>config</key>
<dict>
Expand Down Expand Up @@ -4394,7 +4394,7 @@ end run</string>
<key>spaces</key>
<string></string>
<key>url</key>
<string>{var:url}</string>
<string>{var:default_url}</string>
</dict>
<key>type</key>
<string>alfred.workflow.action.openurl</string>
Expand Down Expand Up @@ -5833,6 +5833,8 @@ end run</string>
<integer>1</integer>
</dict>
<dict>
<key>config</key>
<dict/>
<key>type</key>
<string>alfred.workflow.utility.junction</string>
<key>uid</key>
Expand Down Expand Up @@ -6017,6 +6019,8 @@ end run</string>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict/>
<key>type</key>
<string>alfred.workflow.utility.junction</string>
<key>uid</key>
Expand Down Expand Up @@ -6200,7 +6204,7 @@ Start this workflow with the *bw* keyword or the *Cmd-Ctrl-L* hotkey.
* (Optional) Automatically sync vault in the background using a macOS Launch Agent
---
*Version 6.2.0*</string>
*Version 6.2.1*</string>
<key>uidata</key>
<dict>
<key>01015AFB-7C54-440D-9165-C4E2F49925D9</key>
Expand Down Expand Up @@ -8005,7 +8009,7 @@ add_item.sh</string>
<string>--no-deprecation</string>
</dict>
<key>version</key>
<string>6.2.0</string>
<string>6.2.1</string>
<key>webaddress</key>
<string>https://github.com/ajrosen/Bitwarden-Accelerator</string>
</dict>
Expand Down
1 change: 1 addition & 0 deletions jq/list_items.jq
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def alfred(fn; on):
username: .login.username,
folder: folderName(.folderId; fn),
url: [ URIs ],
default_url: .login.uris[0].uri,
collections: [ (select(.collectionIds + [] | length > 0) | .collectionIds[]) ],
collectionCount: .collectionIds | length,
organization: orgName(.organizationId; on),
Expand Down

0 comments on commit 61c8abf

Please sign in to comment.