Skip to content

upgraded to electron 1.4.12#125

Open
webarchymeta wants to merge 1 commit intomafintosh:masterfrom
webarchymeta:master
Open

upgraded to electron 1.4.12#125
webarchymeta wants to merge 1 commit intomafintosh:masterfrom
webarchymeta:master

Conversation

@webarchymeta
Copy link

No description provided.

var shell = require('shell')
var powerSaveBlocker = require('electron').powerSaveBlocker
var globalShortcut = require('electron').globalShortcut
const
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this, much appreciated.

Can you follow the code patterns that's already being used. Mainly that we use var and not const/let.

width: 860,
height: 470,
frame: frame,
frame: false,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What has changed since you removed the platform check?

@@ -1,12 +1,11 @@
const {remote, ipcRenderer} = require('electron');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const -> var

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and no ; :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants