Skip to content

Commit aac2c43

Browse files
remove jq, as it is against the policy and is resolved by alfred automatically
1 parent 09090d2 commit aac2c43

File tree

7 files changed

+6
-77
lines changed

7 files changed

+6
-77
lines changed

Deepl-Translate.alfred5workflow

-403 KB
Binary file not shown.

Deepl-Translate.alfredworkflow

-403 KB
Binary file not shown.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ workflow: workflow4 workflow5
1414
workflow4:
1515
@rm -f Deepl-Translate.alfredworkflow
1616
@cp info4.plist info.plist
17-
@zip Deepl-Translate.alfredworkflow icon.png info.plist deepl.sh jq-dist jq-LICENSE
17+
@zip Deepl-Translate.alfredworkflow icon.png info.plist deepl.sh
1818
@rm info.plist
1919

2020
workflow5:
2121
@rm -f Deepl-Translate.alfred5workflow
2222
@cp info5.plist info.plist
23-
@zip Deepl-Translate.alfred5workflow icon.png info.plist deepl.sh jq-dist jq-LICENSE
23+
@zip Deepl-Translate.alfred5workflow icon.png info.plist deepl.sh
2424
@rm info.plist
2525

2626
feedback:

deepl.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ LANGUAGE_PREFERRED="${DEEPL_PREFERRED:-[\"DE\",\"EN\"]}"
88
KEY="${DEEPL_KEY:-}"
99
PRO="${DEEPL_PRO:-}"
1010
POSTFIX="${DEEPL_POSTFIX:-.}"
11-
VERSION="1.12"
11+
VERSION="1.13"
1212
PATH="$PATH:/usr/local/bin/"
1313
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
1414
PARSER="jq"
1515
if ! type "$PARSER" >/dev/null 2>&1; then
16-
PARSER="${DIR}/jq-dist"
17-
xattr -dr com.apple.quarantine "$PARSER"
18-
chmod +x "$PARSER"
16+
echo "Binary '$PARSER' not found. Install it via 'brew install jq'." >&2
17+
exit 1
1918
fi
2019
###############################################################################
2120

info5.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ To avoid the error message 'too many requests', please configure your free (or p
611611
<key>variablesdontexport</key>
612612
<array/>
613613
<key>version</key>
614-
<string>1.12</string>
614+
<string>1.13</string>
615615
<key>webaddress</key>
616616
<string>https://github.com/AlexanderWillner/deepl-alfred-workflow2</string>
617617
</dict>

jq-LICENSE

Lines changed: 0 additions & 70 deletions
This file was deleted.

jq-dist

-1.17 MB
Binary file not shown.

0 commit comments

Comments
 (0)