Skip to content

Commit

Permalink
Merge branch 'release/1.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihagemann committed Sep 19, 2023
2 parents 9011b2a + bb76162 commit 369bd6c
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.cryptomator</groupId>
<artifactId>integrations-mac</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>

<name>Cryptomator Integrations for macOS</name>
<description>Provides optional macOS services used by Cryptomator</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@

JNIEXPORT void JNICALL Java_org_cryptomator_macos_tray_ActivationPolicy_00024Native_transformToAccessory
(JNIEnv *env, jobject thisObj) {
[NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
if (NSApp.activationPolicy != NSApplicationActivationPolicyAccessory) {
[NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
}
}

JNIEXPORT void JNICALL Java_org_cryptomator_macos_tray_ActivationPolicy_00024Native_transformToRegular
(JNIEnv *env, jobject thisObj) {
[NSApp activateIgnoringOtherApps:YES];
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
if (NSApp.activationPolicy != NSApplicationActivationPolicyRegular) {
[NSApp activateIgnoringOtherApps:YES];
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
}
}
1 change: 1 addition & 0 deletions src/main/resources/MacIntegrationsBundle_bg.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.cryptomator.macos.keychain.displayName=macOS Keychain
Empty file.
1 change: 1 addition & 0 deletions src/main/resources/MacIntegrationsBundle_fil.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.cryptomator.macos.keychain.displayName=macOS Keychain
2 changes: 1 addition & 1 deletion src/main/resources/MacIntegrationsBundle_hu.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
org.cryptomator.macos.keychain.displayName=macOS Keychain
org.cryptomator.macos.keychain.displayName=macOS Kulcskarika
1 change: 1 addition & 0 deletions src/main/resources/MacIntegrationsBundle_ta.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.cryptomator.macos.keychain.displayName=macOS கீச்செயின்
2 changes: 1 addition & 1 deletion src/main/resources/MacIntegrationsBundle_zh.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
org.cryptomator.macos.keychain.displayName=macOS Keychain
org.cryptomator.macos.keychain.displayName=macOS 钥匙串访问

0 comments on commit 369bd6c

Please sign in to comment.