Skip to content

Commit

Permalink
Merge pull request #7 from theIYD/development
Browse files Browse the repository at this point in the history
Release: 0.2.1
  • Loading branch information
theIYD committed Nov 24, 2017
2 parents 03fa0fd + 2340d36 commit 03e5621
Show file tree
Hide file tree
Showing 9 changed files with 495 additions and 162 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules/
dist/
builds/
.env
release-builds/
18 changes: 4 additions & 14 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,13 @@ function createWindow() {
let config = {
width: 1024,
height: 840,
frame: false,
backgroundColor: '#7E57C2',
icon: 'src/assets/icons/win/iconWin.ico',
autoHideMenuBar: true,
icon: path.join(__dirname, 'src/assets/icons/linux/iconLinux.png'),
resizable: false,
alwaysOnTop: true,
maximizable: false,
show: false
}

if(/^win/.test(process.platform)) {
config = {
width: 1024,
height: 840,
backgroundColor: '#7E57C2',
autoHideMenuBar: true,
icon: 'src/assets/icons/win/iconWin.ico',
show: false
}
}
mainWindow = new BrowserWindow(config);

// and load the index.html of the app.
Expand All @@ -58,6 +46,8 @@ function createWindow() {
});
}



mainWindow.loadURL( indexPath );

// Don't show until we are ready and loaded
Expand Down
Loading

0 comments on commit 03e5621

Please sign in to comment.