Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
✨ Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
williambout committed Jan 10, 2017
1 parent 67ec24d commit d8cbb0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/index.html
Expand Up @@ -12,7 +12,7 @@
<img class="loader-icon" src="./img/loader.png" srcset="./img/loader.png 95w, ./img/loader@2x.png 190w" width="95" height="95" alt="">
</div>
</div>
<webview id="paper" src="https://paper.dropbox.com/" autosize="on" preload="./js/inject.js"></webview>
<webview id="paper" src="https://paper.dropbox.com/" autosize="on"></webview>
<script type="text/javascript" src="js/index.js"></script>
</body>
</html>
4 changes: 1 addition & 3 deletions main.js
Expand Up @@ -8,10 +8,8 @@ win = null;
const menuTemplate = require('./menu');

function createWindow () {

let appMenu = Menu.buildFromTemplate(menuTemplate);
Menu.setApplicationMenu(appMenu);

win = new BrowserWindow(
{
width: 1024,
Expand All @@ -29,9 +27,9 @@ function createWindow () {
win.on('closed', () => {
win = null
})

return win;
}

app.on('ready', () => {
mainWindow = createWindow();
});
Expand Down

0 comments on commit d8cbb0e

Please sign in to comment.