diff --git a/README.md b/README.md index f763fc8..f7647d4 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,9 @@ In the zip file is the generated app. Install it as you would any app for your O Priority features - favicons -> app icons +- back/forward navigation +- refresh/reload +- handle link clicks Build/deploy - local build diff --git a/main.js b/main.js index 6e3e0a1..f63ffa2 100644 --- a/main.js +++ b/main.js @@ -84,10 +84,10 @@ function openURL(url) { webPreferences: { preload: path.join(__dirname, 'preload.js') } - }) + }); // and load the URL of the website. - mainWindow.loadURL(url) + mainWindow.loadURL(url); // Open the DevTools. // mainWindow.webContents.openDevTools() @@ -240,7 +240,9 @@ const openSelf = url => { //'.', //path.join(process.cwd(), 'electron-base'), '--', - `--url2=${url}` + `--url2=${url}`, + //'--enable-features=IsolatedWebApps,IsolatedWebAppDevMode,ControlledFrame,AutomaticFullscreenContentSetting,WebAppBorderless', + //'--install-isolated-web-app-from-url=http://localhost:5193' ]; // start new process