Skip to content

Commit

Permalink
Unlock pro for github release
Browse files Browse the repository at this point in the history
  • Loading branch information
turkenh committed May 8, 2019
1 parent 32fb289 commit a2425bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions KubeContext.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 3PCRTYAP3C;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = KubeContext/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -687,6 +688,7 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 3PCRTYAP3C;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = KubeContext/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down
5 changes: 4 additions & 1 deletion KubeContext/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate {
//UserDefaults.standard.removeObject(forKey: keyExistingUserPrePro)
//UserDefaults.standard.set(existingUserPreProFalse, forKey: keyExistingUserPrePro)
// End of For testing


// Github release - all free
UserDefaults.standard.set(true, forKey: keyPro)

isPro = UserDefaults.standard.bool(forKey: keyPro)
isExistingUserPrePro = UserDefaults.standard.integer(forKey: keyExistingUserPrePro)
if isExistingUserPrePro == existingUserPreProUndefined {
Expand Down

0 comments on commit a2425bb

Please sign in to comment.