Skip to content

Commit

Permalink
fixed some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
muhqu committed Sep 27, 2019
1 parent 777a82c commit 109ae65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DTAppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ - (void)hotkeyPressed {
NSArray* selectionURLStrings = nil;
NSRect frontWindowBounds = NSZeroRect;

NSString* frontmostAppBundleID = [[NSWorkspace sharedWorkspace] activeApplication][@"NSApplicationBundleIdentifier"];
NSString* frontmostAppBundleID = [[[NSWorkspace sharedWorkspace] frontmostApplication] bundleIdentifier];

// If the Finder is frontmost, talk to it using ScriptingBridge
if([frontmostAppBundleID isEqualToString:@"com.apple.finder"]) {
Expand Down
2 changes: 2 additions & 0 deletions DTerm.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,7 @@
INFOPLIST_PREFIX_HEADER = $BUILT_PRODUCTS_DIR/include/Revision.h;
INFOPLIST_PREPROCESS = YES;
INSTALL_PATH = "$(HOME)/Applications";
PRODUCT_BUNDLE_IDENTIFIER = net.decimus.dterm;
PRODUCT_NAME = DTerm;
WARNING_CFLAGS = (
"-Wall",
Expand Down Expand Up @@ -888,6 +889,7 @@
INFOPLIST_PREFIX_HEADER = $BUILT_PRODUCTS_DIR/include/Revision.h;
INFOPLIST_PREPROCESS = YES;
INSTALL_PATH = "$(HOME)/Applications";
PRODUCT_BUNDLE_IDENTIFIER = net.decimus.dterm;
PRODUCT_NAME = DTerm;
STRIP_INSTALLED_PRODUCT = YES;
WARNING_CFLAGS = (
Expand Down

0 comments on commit 109ae65

Please sign in to comment.