Skip to content

Commit

Permalink
Use profile consistent with other platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
fungl164 committed Oct 1, 2013
1 parent 8e0fa25 commit 44b8b79
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions appshell/appshell_extensions_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,19 @@ int32 OpenLiveBrowser(ExtensionString argURL, bool enableRemoteDebugging)
@"--remote-debugging-port=9222",
@"--allow-file-access-from-files",
@"--no-first-run",
@"--no-default-browser-check",
@"--temp-profile",
@"--user-data-dir=/tmp/chrome-brackets",
[NSString stringWithFormat:@"%@%s%@", @"--user-data-dir=", ClientApp::AppGetSupportDirectory().ToString().c_str(), @"/live-dev-profile"],
urlString,
nil];
}
else {
parameters = [NSArray arrayWithObjects:
@"--allow-file-access-from-files",
@"--no-first-run",
@"--no-default-browser-check",
@"--temp-profile",
@"--user-data-dir=/tmp/chrome-brackets",
[NSString stringWithFormat:@"%@%s%@", @"--user-data-dir=", ClientApp::AppGetSupportDirectory().ToString().c_str(), @"/live-dev-profile"],
urlString,
nil];
}
Expand Down

0 comments on commit 44b8b79

Please sign in to comment.