Skip to content

Commit

Permalink
set permissions to binary before executing it (stuartcryan#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
blacs30 authored Dec 17, 2020
1 parent 203b47d commit cd58ceb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions workflow/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@
<key>runningsubtext</key>
<string>Loading auth configs…</string>
<key>script</key>
<string>./bitwarden-alfred-workflow -auth -- "$1"</string>
<string>/bin/chmod +x bitwarden-alfred-workflow; ./bitwarden-alfred-workflow -auth -- "$1"</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down Expand Up @@ -523,7 +523,7 @@
<key>runningsubtext</key>
<string></string>
<key>script</key>
<string>./bitwarden-alfred-workflow $action $action2 $action3 $1</string>
<string>/bin/chmod +x bitwarden-alfred-workflow; ./bitwarden-alfred-workflow $action $action2 $action3 $1</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down Expand Up @@ -552,7 +552,7 @@
<key>escaping</key>
<integer>102</integer>
<key>script</key>
<string>./bitwarden-alfred-workflow $action $action2 $action3 $1</string>
<string>/bin/chmod +x bitwarden-alfred-workflow; ./bitwarden-alfred-workflow $action $action2 $action3 $1</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down Expand Up @@ -745,7 +745,7 @@
<key>runningsubtext</key>
<string>Finding secrets…</string>
<key>script</key>
<string>./bitwarden-alfred-workflow $1</string>
<string>/bin/chmod +x bitwarden-alfred-workflow; ./bitwarden-alfred-workflow $1</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down Expand Up @@ -819,7 +819,7 @@
<key>runningsubtext</key>
<string>Finding secrets in folders…</string>
<key>script</key>
<string>./bitwarden-alfred-workflow --folder $action $action2 $action3 $1
<string>/bin/chmod +x bitwarden-alfred-workflow; ./bitwarden-alfred-workflow --folder $action $action2 $action3 $1
</string>
<key>scriptargtype</key>
<integer>1</integer>
Expand Down Expand Up @@ -948,7 +948,7 @@
<key>runningsubtext</key>
<string>Reading settings…</string>
<key>script</key>
<string>./bitwarden-alfred-workflow -conf "$1"</string>
<string>/bin/chmod +x bitwarden-alfred-workflow; ./bitwarden-alfred-workflow -conf "$1"</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down Expand Up @@ -977,7 +977,7 @@
<key>escaping</key>
<integer>102</integer>
<key>script</key>
<string>./bitwarden-alfred-workflow $action $action2 $action3 $1</string>
<string>/bin/chmod +x bitwarden-alfred-workflow; ./bitwarden-alfred-workflow $action $action2 $action3 $1</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down Expand Up @@ -1081,7 +1081,7 @@
<key>runningsubtext</key>
<string></string>
<key>script</key>
<string>./bitwarden-alfred-workflow $action $action2 $action3 $1</string>
<string>/bin/chmod +x bitwarden-alfred-workflow; ./bitwarden-alfred-workflow $action $action2 $action3 $1</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down

0 comments on commit cd58ceb

Please sign in to comment.