ui: switch location bar to plain text field to avoid extra 'x' in chrome
update to wabac.js 2.1.3 - rewriting fixes, fix regression in twitter rewriting bump version to 1.2.2
This commit is contained in:
@@ -56,6 +56,10 @@ class ElectronReplayApp
|
||||
}
|
||||
}
|
||||
|
||||
get mainWindowUrl() {
|
||||
return "index.html";
|
||||
}
|
||||
|
||||
init() {
|
||||
// Single instance check
|
||||
const gotTheLock = app.requestSingleInstanceLock();
|
||||
@@ -337,7 +341,7 @@ class ElectronReplayApp
|
||||
return {statusCode, start, end};
|
||||
}
|
||||
|
||||
createMainWindow(argv, startUrl = "index.html") {
|
||||
createMainWindow(argv) {
|
||||
const sourceString = this.getOpenUrl(argv);
|
||||
|
||||
// Create the browser window.
|
||||
@@ -352,7 +356,7 @@ class ElectronReplayApp
|
||||
theWindow.maximize();
|
||||
});
|
||||
|
||||
theWindow.loadURL(STATIC_PREFIX + startUrl + sourceString);
|
||||
theWindow.loadURL(STATIC_PREFIX + this.mainWindowUrl + sourceString);
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
theWindow.webContents.openDevTools();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user