Move unrelated code out of menu.js and ipc.js
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
var about = module.exports = {
|
||||
create,
|
||||
init,
|
||||
win: null
|
||||
}
|
||||
|
||||
var config = require('../../config')
|
||||
var electron = require('electron')
|
||||
|
||||
function create () {
|
||||
function init () {
|
||||
if (about.win) {
|
||||
return about.win.show()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user