add file menu for non-mac
This commit is contained in:
parent
47a633b65b
commit
8ae84034a8
7
menu.js
7
menu.js
@ -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: [
|
||||||
|
Reference in New Issue
Block a user