add file menu for non-mac

This commit is contained in:
Damillora 2017-07-04 00:25:03 +07:00
parent 47a633b65b
commit 8ae84034a8

View File

@ -7,6 +7,13 @@ const options = {userAgent: 'Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6
module.exports = function(win){ module.exports = function(win){
const template = [ const template = [
{
label: "File",
submenu: [
{label: 'Preferences',click(){prefman.showPreferences()}},
],
visible: process.platform !== 'darwin'
},
{ {
label: 'Edit', label: 'Edit',
submenu: [ submenu: [