Skip to content

Commit

Permalink
Release version 0.14.15
Browse files Browse the repository at this point in the history
Fix workflow update for Alfred 4.
  • Loading branch information
spamwax committed Jun 15, 2019
1 parent 9855e15 commit 268db51
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "alfred-pinboard-rs"
version = "0.14.14"
version = "0.14.15"
authors = [ "Hamid Ghadyani <[email protected]>",]

[dependencies]
Expand Down Expand Up @@ -28,6 +28,3 @@ branch = "master"
[dependencies.chrono]
version = "0.4"
features = [ "serde",]

[profile.release]
lto = true
18 changes: 0 additions & 18 deletions res/workflow/get-current-url.applescript
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,6 @@ on run
set theURL to item 1 of theResult
set theText to item 2 of theResult

else if theApplication is "Opera Developer.app" and appIsRunning("Opera") then
set theResult to run script "tell application id \"com.operasoftware.OperaDeveloper\"
set theText to title of active tab of first window
set theURL to get URL of active tab of first window
return {theURL, theText}
end tell"
set theURL to item 1 of theResult
set theText to item 2 of theResult

else if theApplication is "Opera Beta.app" and appIsRunning("Opera") then
set theResult to run script "tell application id \"com.operasoftware.OperaNext\"
set theText to title of active tab of first window
set theURL to get URL of active tab of first window
return {theURL, theText}
end tell"
set theURL to item 1 of theResult
set theText to item 2 of theResult

else if theApplication is "Vivaldi.app" and appIsRunning("Vivaldi") then
set theResult to run script "tell application id \"com.vivaldi.Vivaldi\"
set theText to title of active tab of first window
Expand Down
5 changes: 2 additions & 3 deletions res/workflow/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2114,8 +2114,7 @@ echo $ret
<key>script</key>
<string>filename=$(echo "$1" | cut -d ' ' -f 3-)
# if open -b com.runningwithcrayons.Alfred-3 "$alfred_workflow_cache/latest_release_Rusty_Pin.alfredworkflow"; then
if open -b com.runningwithcrayons.Alfred-3 "$filename"; then
if open -b com.runningwithcrayons.Alfred "$filename"; then
echo "Success: Wait! Openning Alfred to install..."
else
echo "Error: $filename Couldn't install the downloaded file!"
Expand Down Expand Up @@ -4422,7 +4421,7 @@ Raashid.A</string>
</dict>
</dict>
<key>version</key>
<string>0.14.14</string>
<string>0.14.15</string>
<key>webaddress</key>
<string>https://github.com/spamwax/alfred-pinboard-rs</string>
</dict>
Expand Down

0 comments on commit 268db51

Please sign in to comment.