From b7df436a5d01b8f97c6bb3bcb0e094fb5f077499 Mon Sep 17 00:00:00 2001 From: relikd Date: Mon, 18 Feb 2019 14:55:45 +0100 Subject: [PATCH] Cmd+q will close preferences instead of quitting the app --- README.md | 12 ++++++++++++ baRSS/AppHook.m | 2 +- baRSS/Info.plist | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e1f6c0..a8ddd26 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,18 @@ This project uses a modified version of Brent Simmons [RSXML](https://github.com RSXML is licensed under a MIT license (same as this project). +Install +------- + +Easy way: go to [releases](https://github.com/relikd/baRSS/releases) and downloaded the latest version. + +### Build from source + +You'll need Xcode and [Carthage](https://github.com/Carthage/Carthage#installing-carthage). The latter is optional, you can build the [RSXML](https://github.com/relikd/RSXML) library from source instead. Carthage just makes it more convenient. +Download and unzip this project, navigate to the root folder and run `carthage bootstrap --platform macOS`. + +That's it. Open Xcode and build the project. Note, there are some compiler flags that append 'beta' to the development release. If you prefer the optimized release version go to `Product > Archive`. + Hidden options -------------- diff --git a/baRSS/AppHook.m b/baRSS/AppHook.m index db58c90..616621a 100644 --- a/baRSS/AppHook.m +++ b/baRSS/AppHook.m @@ -185,7 +185,7 @@ static NSEventModifierFlags fnKeyFlags = NSEventModifierFlagShift | NSEventModif case 'c': if ([self sendAction:@selector(copy:) to:nil from:self]) return; break; case 'v': if ([self sendAction:@selector(paste:) to:nil from:self]) return; break; case 'a': if ([self sendAction:@selector(selectAll:) to:nil from:self]) return; break; - case 'q': if ([self sendAction:@selector(terminate:) to:nil from:self]) return; break; + case 'q': if ([self sendAction:@selector(performClose:) to:nil from:self]) return; break; case 'w': if ([self sendAction:@selector(performClose:) to:nil from:self]) return; break; #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wundeclared-selector" diff --git a/baRSS/Info.plist b/baRSS/Info.plist index 50d9cc2..6019201 100644 --- a/baRSS/Info.plist +++ b/baRSS/Info.plist @@ -32,7 +32,7 @@ CFBundleVersion - 1032 + 1037 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) LSUIElement