From 268db513d1b29784213940f545126c714cb745f9 Mon Sep 17 00:00:00 2001 From: Hamid Ghadyani Date: Sat, 15 Jun 2019 01:12:12 -0400 Subject: [PATCH] Release version 0.14.15 Fix workflow update for Alfred 4. --- Cargo.lock | 2 +- Cargo.toml | 5 +---- res/workflow/get-current-url.applescript | 18 ------------------ res/workflow/info.plist | 5 ++--- 4 files changed, 4 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5915eb4..b0868de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,7 +31,7 @@ dependencies = [ [[package]] name = "alfred-pinboard-rs" -version = "0.14.14" +version = "0.14.15" dependencies = [ "alfred 4.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "alfred-rs 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index c90ab2b..e880eb9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "alfred-pinboard-rs" -version = "0.14.14" +version = "0.14.15" authors = [ "Hamid Ghadyani ",] [dependencies] @@ -28,6 +28,3 @@ branch = "master" [dependencies.chrono] version = "0.4" features = [ "serde",] - -[profile.release] -lto = true diff --git a/res/workflow/get-current-url.applescript b/res/workflow/get-current-url.applescript index 05b10e4..d3e2a1f 100644 --- a/res/workflow/get-current-url.applescript +++ b/res/workflow/get-current-url.applescript @@ -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 diff --git a/res/workflow/info.plist b/res/workflow/info.plist index 9d34030..1546a6a 100644 --- a/res/workflow/info.plist +++ b/res/workflow/info.plist @@ -2114,8 +2114,7 @@ echo $ret script 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!" @@ -4422,7 +4421,7 @@ Raashid.A version - 0.14.14 + 0.14.15 webaddress https://github.com/spamwax/alfred-pinboard-rs