Skip to content

Commit

Permalink
default to integrated only mode if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
steveschow committed Jul 4, 2017
1 parent 92dbff3 commit ead8859
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions Classes/gfxCardStatusAppDelegate.m
Expand Up @@ -99,6 +99,18 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
// Check for updates if the user has them enabled.
if ([_prefs shouldCheckForUpdatesOnStartup])
[updater checkForUpdatesInBackground];

// for now init to integrated-only mode.
// Later on do this only if prefs were set for it

NSArray *taskList = [GSProcess getTaskList];
if (taskList.count > 0) {
GTMLoggerInfo(@"Not setting Integrated Only because of dependencies list items: %@", taskList);
}
else {
GTMLoggerInfo(@"Setting Integrated Only...");
[GSMux setMode:GSSwitcherModeForceIntegrated];
}
}

#pragma mark - Termination Notifications
Expand Down
4 changes: 2 additions & 2 deletions gfxCardStatus-Info.plist
Expand Up @@ -19,13 +19,13 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.4.3i</string>
<string>2.4.4i</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array/>
<key>CFBundleVersion</key>
<string>2.4.3i</string>
<string>2.4.4i</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>LSUIElement</key>
Expand Down

0 comments on commit ead8859

Please sign in to comment.