We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0d233 commit 229e1e9Copy full SHA for 229e1e9
src/js/stores/settings.js
@@ -1,3 +1,5 @@
1
+var ipc = window.require('ipc');
2
+
3
var Reflux = require('reflux');
4
var Actions = require('../actions/actions');
5
@@ -51,7 +53,6 @@ var SettingsStore = Reflux.createStore({
51
53
},
52
54
55
handleStartup: function (value) {
- var ipc = window.require('ipc');
56
var method = (value) ? 'startup-enable' : 'startup-disable';
57
ipc.send(method);
58
}
0 commit comments