1.) running npm start in template-app throws an error that Module app can't be found.
Versions: - Node: 6.2.2 - npm: 3.10.3
Output:
template-app#> npm start
template-app#> electron .
App threw an error during load
Error: Cannot find module 'app'
at Module._resolveFilename (module.js:438:15)
2.) Window Setting: `'title-bar-style': 'hidden' not working. Also the Window content doesn't fit properly.
Problems:
1.) running
npm start
intemplate-app
throws an error that Moduleapp
can't be found.Versions: - Node: 6.2.2 - npm: 3.10.3
Output:
2.) Window Setting: `'title-bar-style': 'hidden' not working. Also the Window content doesn't fit properly.
More Details can be found here: frameless-window.
Bugfix 1:
Run Electron in a frameless window and add Drag Support to class
toolbar-header
.app.js:
index.html:
add:
style="-webkit-app-region: drag"
Problem: In this case we can move the Window but the close, minimize and maximize buttons are missing and need to be implemented later on.
Bugfix 2:
Start Electron in a normal Window and delete the HTML toolbar.
app.js:
index.html:
delete:
Hope this help you guys. And thanks for the awesome Framework for Electron, love it! Keep up with the great work.
Cheers Maik Ellerbrock