Skip to content

Commit 0b92757

Browse files
committed
v3.0.1
fixed #34 minor UI improvements
1 parent 3c5f5ce commit 0b92757

File tree

4 files changed

+38
-23
lines changed

4 files changed

+38
-23
lines changed

AppDelegate.m

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,6 @@ -(void)applicationDidFinishLaunching:(NSNotification *)notification
9595
//alloc shared item enumerator
9696
sharedItemEnumerator = [[ItemEnumerator alloc] init];
9797

98-
//toggle away
99-
[[[NSRunningApplication runningApplicationsWithBundleIdentifier:@"com.apple.loginwindow"] firstObject] activateWithOptions:NSApplicationActivateIgnoringOtherApps];
100-
101-
//toggle back
102-
// work-around for menu not showing since we set Application is agent(UIElement): YES
103-
[[[NSRunningApplication runningApplicationsWithBundleIdentifier:@"com.objective-see.KnockKnock"] firstObject] activateWithOptions:NSApplicationActivateIgnoringOtherApps];
104-
10598
//load defaults
10699
defaults = [NSUserDefaults standardUserDefaults];
107100

KnockKnock-Info.plist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@
2424
<string>$(CURRENT_PROJECT_VERSION)</string>
2525
<key>LSMinimumSystemVersion</key>
2626
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
27-
<key>LSUIElement</key>
28-
<true/>
2927
<key>NSHumanReadableCopyright</key>
30-
<string>Copyright © 2019 Objective-See, LLC. All rights reserved.</string>
28+
<string>Copyright © 2024 Objective-See, LLC. All rights reserved.</string>
3129
<key>NSMainNibFile</key>
3230
<string>MainMenu</string>
3331
<key>NSPrincipalClass</key>

KnockKnock.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@
10861086
CODE_SIGN_IDENTITY = "Developer ID Application";
10871087
CODE_SIGN_STYLE = Manual;
10881088
COMBINE_HIDPI_IMAGES = YES;
1089-
CURRENT_PROJECT_VERSION = 3.0.0;
1089+
CURRENT_PROJECT_VERSION = 3.0.1;
10901090
DEVELOPMENT_TEAM = VBG97UB4TA;
10911091
ENABLE_HARDENED_RUNTIME = YES;
10921092
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -1099,7 +1099,7 @@
10991099
"$(PROJECT_DIR)/Libraries/BTM",
11001100
);
11011101
MACOSX_DEPLOYMENT_TARGET = 10.15;
1102-
MARKETING_VERSION = 3.0.0;
1102+
MARKETING_VERSION = 3.0.1;
11031103
ONLY_ACTIVE_ARCH = NO;
11041104
PRODUCT_BUNDLE_IDENTIFIER = "com.objective-see.${PRODUCT_NAME:rfc1034identifier}";
11051105
PRODUCT_NAME = KnockKnock;
@@ -1116,7 +1116,7 @@
11161116
CODE_SIGN_IDENTITY = "Developer ID Application";
11171117
CODE_SIGN_STYLE = Manual;
11181118
COMBINE_HIDPI_IMAGES = YES;
1119-
CURRENT_PROJECT_VERSION = 3.0.0;
1119+
CURRENT_PROJECT_VERSION = 3.0.1;
11201120
DEVELOPMENT_TEAM = VBG97UB4TA;
11211121
ENABLE_HARDENED_RUNTIME = YES;
11221122
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -1129,7 +1129,7 @@
11291129
"$(PROJECT_DIR)/Libraries/BTM",
11301130
);
11311131
MACOSX_DEPLOYMENT_TARGET = 10.15;
1132-
MARKETING_VERSION = 3.0.0;
1132+
MARKETING_VERSION = 3.0.1;
11331133
ONLY_ACTIVE_ARCH = NO;
11341134
PRODUCT_BUNDLE_IDENTIFIER = "com.objective-see.${PRODUCT_NAME:rfc1034identifier}";
11351135
PRODUCT_NAME = KnockKnock;

Localizable.xcstrings

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,15 @@
189189
}
190190
},
191191
"ERROR:\nKnockKnock Encountered a Fatal Error" : {
192-
"comment" : "KnockKnock Encountered a Fatal Error"
192+
"comment" : "KnockKnock Encountered a Fatal Error",
193+
"localizations" : {
194+
"es" : {
195+
"stringUnit" : {
196+
"state" : "translated",
197+
"value" : "ERROR:\nKnockKnock Encontró un Error Fatal"
198+
}
199+
}
200+
}
193201
},
194202
"ERROR:\nVirusTotal query for '%@' failed" : {
195203
"comment" : "ERROR:\nVirusTotal query for '%@' failed",
@@ -225,7 +233,15 @@
225233
}
226234
},
227235
"Exception: %@" : {
228-
"comment" : "Exception: %@"
236+
"comment" : "Exception: %@",
237+
"localizations" : {
238+
"es" : {
239+
"stringUnit" : {
240+
"state" : "translated",
241+
"value" : "Excepción: %@"
242+
}
243+
}
244+
}
229245
},
230246
"extensions hosted in the browser" : {
231247
"comment" : "extensions hosted in the browser",
@@ -530,21 +546,21 @@
530546
}
531547
}
532548
},
533-
"Submissions complete, though errors were encountered (HTTP response(s): %@)." : {
534-
"comment" : "Submissions complete, though errors were encountered (HTTP response(s): %@).",
549+
"Submissions complete, though errors were encountered.\r\n(HTTP response(s): %@)" : {
550+
"comment" : "Submissions complete, though errors were encountered.\r\n(HTTP response(s): %@)"
551+
},
552+
"Submissions complete, though errors were encountered.\r\n(HTTP response(s): %@)." : {
553+
"comment" : "Submissions complete, though errors were encountered.\r\n(HTTP response(s): %@).",
535554
"extractionState" : "stale",
536555
"localizations" : {
537556
"es" : {
538557
"stringUnit" : {
539558
"state" : "translated",
540-
"value" : "Envíos completados, aunque se encontraron errores (respuesta(s) HTTP: %@)."
559+
"value" : "Envíos completados, aunque se encontraron errores.\r\n(respuesta(s) HTTP: %@)."
541560
}
542561
}
543562
}
544563
},
545-
"Submissions complete, though errors were encountered.\r\n(HTTP response(s): %@)." : {
546-
"comment" : "Submissions complete, though errors were encountered.\r\n(HTTP response(s): %@)."
547-
},
548564
"Submissions complete. (In subsequent scans item's VT detection ratios will now be displayed)." : {
549565
"comment" : "Submissions complete. (In subsequent scans item's VT detection ratios will now be displayed).",
550566
"localizations" : {
@@ -656,7 +672,15 @@
656672
}
657673
},
658674
"VirusTotal Results: Disabled" : {
659-
"comment" : "VirusTotal Results: Disabled"
675+
"comment" : "VirusTotal Results: Disabled",
676+
"localizations" : {
677+
"es" : {
678+
"stringUnit" : {
679+
"state" : "translated",
680+
"value" : "Resultados de VirusTotal: Deshabilitado"
681+
}
682+
}
683+
}
660684
},
661685
"VirusTotal:\r\n %lu flagged item(s)\r\n %lu unknown item(s)" : {
662686
"comment" : "VirusTotal:\r\n %lu flagged item(s)\r\n %lu unknown item(s)",

0 commit comments

Comments
 (0)