From 0f04b9b169a778446e15bfe570d16e58682d0dd0 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 23 Dec 2020 12:33:41 +0200 Subject: [PATCH 1/3] fix: disable standard tab detection for all JetBrains apps Not just EAPs; those EAPs have been promoted into standard apps. Should fix #716 --- src/logic/Application.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/Application.swift b/src/logic/Application.swift index 3144232e6..3c88b2bb8 100644 --- a/src/logic/Application.swift +++ b/src/logic/Application.swift @@ -26,7 +26,7 @@ class Application: NSObject { ] // workaround: some apps exhibit bugs when we subscribe to its kAXFocusedUIElementChangedNotification // we don't know what's happening; we avoid this subscription to make these app usable - if app.bundleIdentifier == "edu.stanford.protege" || app.bundleIdentifier?.range(of: "^com\\.jetbrains\\..+?EAP$", options: .regularExpression) != nil { + if app.bundleIdentifier == "edu.stanford.protege" || app.bundleIdentifier?.range(of: "^com\\.jetbrains\\..+?$", options: .regularExpression) != nil { return n.filter { $0 != kAXFocusedUIElementChangedNotification } } return n From 70a779e7ba7dd086aef270b71b7674474d75b270 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 23 Dec 2020 15:55:35 +0200 Subject: [PATCH 2/3] chore(ci): don't use github token for public API --- scripts/update_contributors.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/update_contributors.sh b/scripts/update_contributors.sh index 5e5bd50b3..172f5cbcf 100755 --- a/scripts/update_contributors.sh +++ b/scripts/update_contributors.sh @@ -11,7 +11,6 @@ projectId="316051" echo -e "They helped [develop the app](https://github.com/lwouis/alt-tab-macos/graphs/contributors):\n" curl https://api.github.com/repos/lwouis/alt-tab-macos/contributors \ - -H "Authorization: token $GITHUB_TOKEN" | jq -r '.[]|("[" + .login + "](" + .html_url + ")")' | sed -e '/semantic-release-bot/d' | sort -f | From b33e6edeb77d218669b9cac266499236da262f1c Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 23 Dec 2020 16:10:50 +0200 Subject: [PATCH 3/3] chore(ci): ensure l10n projects exist --- scripts/import_l10n_strings_from_poeditor.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/import_l10n_strings_from_poeditor.sh b/scripts/import_l10n_strings_from_poeditor.sh index 40f3e8a3b..39152e59b 100755 --- a/scripts/import_l10n_strings_from_poeditor.sh +++ b/scripts/import_l10n_strings_from_poeditor.sh @@ -13,6 +13,7 @@ function updateLanguageFile() { -d order="terms" \ -d type="apple_strings")" fileUrl="$(jq -r '.result.url' <<<"$exportApiJson")" + mkdir -p "resources/l10n/$1.lproj" curl -s "$fileUrl" > "resources/l10n/$1.lproj/Localizable.strings" }