mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Create bootstrap script for atom in single window mode
This commit is contained in:
@@ -95,7 +95,7 @@ void ClientHandler::OnLoadStart(CefRefPtr<CefBrowser> browser,
|
||||
atom->SetValue("loadPath", loadPath, V8_PROPERTY_ATTRIBUTE_NONE);
|
||||
|
||||
CefRefPtr<CefV8Value> bootstrapScript = CefV8Value::CreateString(
|
||||
"window-bootstrap");
|
||||
"single-window-bootstrap");
|
||||
global->SetValue("$bootstrapScript", bootstrapScript,
|
||||
V8_PROPERTY_ATTRIBUTE_NONE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user