mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-11 10:07:42 +00:00
fix: wrong variable type
This commit is contained in:
parent
e41df6f838
commit
258fed6511
1 changed files with 4 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ id _lastServerWithOSKShowing = nil;
|
|||
// options.debug = @YES;
|
||||
}];
|
||||
|
||||
[SentrySDK captureMessage:@"Starting Keyman [test message]"];
|
||||
// [SentrySDK captureMessage:@"Starting Keyman [test message]"];
|
||||
}
|
||||
|
||||
#ifdef USE_ALERT_SHOW_HELP_TO_FORCE_EASTER_EGG_CRASH_FROM_ENGINE
|
||||
|
|
@ -271,6 +271,8 @@ CGEventRef eventTapFunction(CGEventTapProxy proxy, CGEventType type, CGEventRef
|
|||
|
||||
switch (type) {
|
||||
case kCGEventFlagsChanged:
|
||||
if (appDelegate.debugMode)
|
||||
NSLog(@"System Event: flags changed: %x", (int) sysEvent.modifierFlags);
|
||||
appDelegate.currentModifierFlags = sysEvent.modifierFlags;
|
||||
if (appDelegate.currentModifierFlags & NSEventModifierFlagCommand) {
|
||||
appDelegate.contextChangingEventDetected = YES;
|
||||
|
|
@ -1064,7 +1066,7 @@ CGEventRef eventTapFunction(CGEventTapProxy proxy, CGEventType type, CGEventRef
|
|||
|
||||
- (void)downloadKeyboardFromKeyboardId:(NSString *)keyboardId {
|
||||
KeymanVersionInfo keymanVersionInfo = [self versionInfo];
|
||||
NSString* url = [NSURL URLWithString:[NSString stringWithFormat:@"https://%@/go/package/download/%@?platform=macos&tier=%@",
|
||||
NSURL* url = [NSURL URLWithString:[NSString stringWithFormat:@"https://%@/go/package/download/%@?platform=macos&tier=%@",
|
||||
keymanVersionInfo.keymanCom, keyboardId, keymanVersionInfo.tier]]; //&bcp47=%@&update=0
|
||||
_downloadFilename = [NSString stringWithFormat:@"%@.kmp", keyboardId];
|
||||
[self downloadKeyboardFromURL:url];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue