From 37e3814366a623c8dc9331dbe4764d41a6a8939e Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Wed, 28 Oct 2015 09:58:49 -0400 Subject: [PATCH] Handle brand-new MacBooks, bump to version 1.0.2 --- README.md | 6 +++--- You'll Never Take Me Alive!.xcodeproj/project.pbxproj | 4 ++-- You'll Never Take Me Alive!/LaptopSettingsController.m | 7 +++++++ .../You'll Never Take Me Alive!-Info.plist | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f82792b..d5fb013 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,10 @@ YoNTMA runs as a status bar icon on FileVault-protected laptops. If the laptop i Binaries -------- -YoNTMA is available for Mac, and has been tested on 10.10, 10.9 and a little bit on 10.8. +YoNTMA is available for Mac, and has been tested on 10.11, 10.10, 10.9 and a little bit on 10.8. -* [YoNTMA (Mac) 1.0.1](https://github.com/iSECPartners/yontma-mac/releases/tag/1.0.1) - * [dmg installer](https://github.com/iSECPartners/yontma-mac/releases/download/1.0.1/yontma-1.0.1.dmg) ([sig](https://github.com/iSECPartners/yontma-mac/releases/download/1.0.1/yontma-1.0.1.dmg.sig) [key](http://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0xE578C0E157AD2E71)) +* [YoNTMA (Mac) 1.0.2](https://github.com/iSECPartners/yontma-mac/releases/tag/1.0.2) + * [dmg installer](https://github.com/iSECPartners/yontma-mac/releases/download/1.0.2/yontma-1.0.2.dmg) ([sig](https://github.com/iSECPartners/yontma-mac/releases/download/1.0.2/yontma-1.0.2.dmg.sig) [key](http://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0xE578C0E157AD2E71)) [YoNTMA is also available for Windows](https://github.com/iSECPartners/yontma), in another Github project. diff --git a/You'll Never Take Me Alive!.xcodeproj/project.pbxproj b/You'll Never Take Me Alive!.xcodeproj/project.pbxproj index 1a92fde..f0496d3 100644 --- a/You'll Never Take Me Alive!.xcodeproj/project.pbxproj +++ b/You'll Never Take Me Alive!.xcodeproj/project.pbxproj @@ -468,7 +468,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "Developer ID Application"; + CODE_SIGN_IDENTITY = "Mac Developer"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; @@ -485,7 +485,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "Developer ID Application"; + CODE_SIGN_IDENTITY = "Mac Developer"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; diff --git a/You'll Never Take Me Alive!/LaptopSettingsController.m b/You'll Never Take Me Alive!/LaptopSettingsController.m index 4cf6dc4..2f25491 100644 --- a/You'll Never Take Me Alive!/LaptopSettingsController.m +++ b/You'll Never Take Me Alive!/LaptopSettingsController.m @@ -98,6 +98,13 @@ +(Boolean) canStandby return true; return false; } + else if([model rangeOfString:@"MacBook"].location != NSNotFound) + { + //MacBook (2015) and later + if(majorVersion >= 8) + return true; + return false; + } else return false; } diff --git a/You'll Never Take Me Alive!/You'll Never Take Me Alive!-Info.plist b/You'll Never Take Me Alive!/You'll Never Take Me Alive!-Info.plist index 76d556a..2cbfdf2 100644 --- a/You'll Never Take Me Alive!/You'll Never Take Me Alive!-Info.plist +++ b/You'll Never Take Me Alive!/You'll Never Take Me Alive!-Info.plist @@ -19,7 +19,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0.1 + 1.0.2 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion