Skip to content

Commit dd6dd03

Browse files
committed
👽 Call the binary with arch -x86_64
1 parent 52804c0 commit dd6dd03

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_VERSION=1.1.9
1+
APP_VERSION=1.1.11
22
GITHUB_REPOSITORY_URL=https://github.com/techouse/alfred-gitmoji
33
ALGOLIA_SEARCH_INDEX=
44
ALGOLIA_APPLICATION_ID=

bin/main_helpers.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ const updateItem = AlfredItem(
2626
valid: true,
2727
);
2828

29-
void _showPlaceholder() {
30-
_workflow.addItem(
31-
const AlfredItem(
32-
title: 'Search for gitmojis ...',
33-
icon: AlfredItemIcon(path: 'icon.png'),
34-
),
35-
);
36-
}
37-
3829
Future<void> _performSearch(String query) async {
3930
final AlgoliaQuerySnapshot snapshot = await AlgoliaSearch.query(query);
4031

info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<key>escaping</key>
7676
<integer>102</integer>
7777
<key>script</key>
78-
<string>./gm -u</string>
78+
<string>arch -x86_64 ./gm -u</string>
7979
<key>scriptargtype</key>
8080
<integer>1</integer>
8181
<key>scriptfile</key>
@@ -169,7 +169,7 @@
169169
<key>runningsubtext</key>
170170
<string>Fetching gitmojis ...</string>
171171
<key>script</key>
172-
<string>./gm -q "{query}"</string>
172+
<string>arch -x86_64 ./gm -q "{query}"</string>
173173
<key>scriptargtype</key>
174174
<integer>0</integer>
175175
<key>scriptfile</key>
@@ -255,7 +255,7 @@
255255
<key>variablesdontexport</key>
256256
<array/>
257257
<key>version</key>
258-
<string>1.1.10</string>
258+
<string>1.1.11</string>
259259
<key>webaddress</key>
260260
<string>https://github.com/techouse</string>
261261
</dict>

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Search for gitmojis and copy them to the clipboard easily.
44
# Prevent accidental publishing to pub.dev.
55
publish_to: 'none'
66

7-
version: 1.1.10
7+
version: 1.1.11
88

99
environment:
1010
sdk: '>=2.17.0 <3.0.0'

0 commit comments

Comments
 (0)