Compare commits

..
4 Commits
5 changed files with 15 additions and 11 deletions
@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.9 (beta)</string>
<string>0.10 (beta)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.9</string>
<string>0.10</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
@@ -29,7 +29,7 @@
<key>LSUIElement</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2011 OpenDNS, Inc. All rights reserved.</string>
<string>Copyright © 2012 OpenDNS, Inc. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 526 B

@@ -17,13 +17,13 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.9</string>
<string>0.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.9</string>
<string>0.10</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2011 OpenDNS Inc. All rights reserved.</string>
<string>Copyright © 2011-2012 OpenDNS Inc. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>DNSCrypt</string>
<key>NSPrefPaneIconFile</key>
+1 -1
View File
@@ -9,7 +9,7 @@
#import <PreferencePanes/PreferencePanes.h>
#import <WebKit/WebKit.h>
#define kDNSCRYPT_PACKAGE_VERSION @"0.9"
#define kDNSCRYPT_PACKAGE_VERSION @"0.10"
#define KDNSCRYPT_CONFIG_UPDATER_LABEL @"com.opendns.osx.DNSCryptConfigUpdater"
#define KDNSCRYPT_PROXY_LABEL @"com.opendns.osx.DNSCryptProxy"
+8 -4
View File
@@ -167,10 +167,14 @@ BOOL checkBoxesHaveBeenInitialized = NO;
if ([enableInsecure_ isKindOfClass: [NSNumber class]]) {
enableInsecure = [enableInsecure_ boolValue];
}
if ([self sendCommandToConfigUpdater: @"dc.w $4E71"] == FALSE) {
[self setReadOnly: YES];
} else {
[self setReadOnly: FALSE];
SInt32 OSXversionMajor, OSXversionMinor;
if (Gestalt(gestaltSystemVersionMajor, &OSXversionMajor) == noErr && Gestalt(gestaltSystemVersionMinor, &OSXversionMinor) == noErr &&
OSXversionMajor == 10 && OSXversionMinor >= 7) {
if ([self sendCommandToConfigUpdater: @"dc.w $4E71"] == FALSE) {
[self setReadOnly: YES];
} else {
[self setReadOnly: FALSE];
}
}
return TRUE;
}