Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #533 from petetnt/master
Browse files Browse the repository at this point in the history
Add --disable-default-apps-flag for live preview
  • Loading branch information
Marcel Gerber committed Sep 12, 2015
2 parents 74861bd + 98a2fd8 commit e5e2643
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appshell/appshell_extensions_gtk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ int GErrorToErrorCode(GError *gerror) {

int32 OpenLiveBrowser(ExtensionString argURL, bool enableRemoteDebugging)
{
const char *remoteDebuggingFormat = "--no-first-run --no-default-browser-check --allow-file-access-from-files --temp-profile --user-data-dir=%s --remote-debugging-port=9222";
const char *remoteDebuggingFormat = "--no-first-run --no-default-browser-check --disable-default-apps --allow-file-access-from-files --temp-profile --user-data-dir=%s --remote-debugging-port=9222";
gchar *remoteDebugging;
gchar *cmdline;
int error = ERR_BROWSER_NOT_INSTALLED;
Expand Down
1 change: 1 addition & 0 deletions appshell/appshell_extensions_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ int32 OpenLiveBrowser(ExtensionString argURL, bool enableRemoteDebugging)
NSArray *parameters = [NSArray arrayWithObjects:
@"--no-first-run",
@"--no-default-browser-check",
@"--disable-default-apps",
debugPortCommandlineArguments,
debugProfilePath,
urlString,
Expand Down
2 changes: 1 addition & 1 deletion appshell/appshell_extensions_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ int32 OpenLiveBrowser(ExtensionString argURL, bool enableRemoteDebugging)
profilePath += L"\\live-dev-profile";
args += L" --user-data-dir=\"";
args += profilePath;
args += L"\" --no-first-run --no-default-browser-check --allow-file-access-from-files --remote-debugging-port=9222 ";
args += L"\" --no-first-run --no-default-browser-check --disable-default-apps --allow-file-access-from-files --remote-debugging-port=9222 ";
} else {
args += L" ";
}
Expand Down

0 comments on commit e5e2643

Please sign in to comment.