Skip to content

Commit

Permalink
package as electron app
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Dec 9, 2017
1 parent 516f9a7 commit 40c31f8
Show file tree
Hide file tree
Showing 9 changed files with 903 additions and 277 deletions.
4 changes: 2 additions & 2 deletions ember-electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ app.on('window-all-closed', () => {
app.on('ready', () => {
mainWindow = new BrowserWindow({
width: 1200,
height: 900,
height: 800,
});

// If you want to open up dev tools programmatically, call
// mainWindow.openDevTools();

const emberAppLocation = 'serve://dist';
const emberAppLocation = 'https://doi.datacite.org';

// Load the ember application using our custom protocol/scheme
mainWindow.loadURL(emberAppLocation);
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion ember-electron/test-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ app.on('window-all-closed', function onWindowAllClosed() {
app.on('ready', function onReady() {
mainWindow = new BrowserWindow({
width: 1200,
height: 900,
height: 800,
webPreferences: {
backgroundThrottling: false,
},
Expand Down
Loading

0 comments on commit 40c31f8

Please sign in to comment.