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

Add --disable-default-apps-flag for live preview #533

Merged
merged 1 commit into from
Sep 12, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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