Skip to content

Commit

Permalink
Merge pull request #67 from FranklinYu/fix/deprecate
Browse files Browse the repository at this point in the history
Replace symbol deprecated since macOS 10.12
  • Loading branch information
sreilly authored Mar 30, 2022
2 parents 2a44b50 + 905ab78 commit 5946207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appbundler/native/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int main(int argc, char *argv[]) {
result = 0;
} @catch (NSException *exception) {
NSAlert *alert = [[NSAlert alloc] init];
[alert setAlertStyle:NSCriticalAlertStyle];
[alert setAlertStyle:NSAlertStyleCritical];
[alert setMessageText:[exception reason]];
[alert runModal];

Expand Down

0 comments on commit 5946207

Please sign in to comment.