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

Commit e5e2643

Browse files
author
Marcel Gerber
committed
Merge pull request #533 from petetnt/master
Add --disable-default-apps-flag for live preview
2 parents 74861bd + 98a2fd8 commit e5e2643

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

appshell/appshell_extensions_gtk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ int GErrorToErrorCode(GError *gerror) {
6363

6464
int32 OpenLiveBrowser(ExtensionString argURL, bool enableRemoteDebugging)
6565
{
66-
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";
66+
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";
6767
gchar *remoteDebugging;
6868
gchar *cmdline;
6969
int error = ERR_BROWSER_NOT_INSTALLED;

appshell/appshell_extensions_mac.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ int32 OpenLiveBrowser(ExtensionString argURL, bool enableRemoteDebugging)
257257
NSArray *parameters = [NSArray arrayWithObjects:
258258
@"--no-first-run",
259259
@"--no-default-browser-check",
260+
@"--disable-default-apps",
260261
debugPortCommandlineArguments,
261262
debugProfilePath,
262263
urlString,

appshell/appshell_extensions_win.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ int32 OpenLiveBrowser(ExtensionString argURL, bool enableRemoteDebugging)
341341
profilePath += L"\\live-dev-profile";
342342
args += L" --user-data-dir=\"";
343343
args += profilePath;
344-
args += L"\" --no-first-run --no-default-browser-check --allow-file-access-from-files --remote-debugging-port=9222 ";
344+
args += L"\" --no-first-run --no-default-browser-check --disable-default-apps --allow-file-access-from-files --remote-debugging-port=9222 ";
345345
} else {
346346
args += L" ";
347347
}

0 commit comments

Comments
 (0)