remove logout from menu

This commit is contained in:
Damillora 2017-07-04 00:23:45 +07:00
parent 03ec4ea171
commit 47a633b65b

View File

@ -71,7 +71,6 @@ module.exports = function(win){
label: app.getName(), label: app.getName(),
submenu: [ submenu: [
{label: 'About Million Hopes',click(){prefman.showAbout()}}, {label: 'About Million Hopes',click(){prefman.showAbout()}},
{label: "Clear Cookies / Log Out",click(){win.webContents.session.clearStorageData({storages: "cookies"});win.loadURL("http://pf.gree.net/58737",options)}},
{type: 'separator'}, {type: 'separator'},
{label: 'Preferences',click(){prefman.showPreferences()}}, {label: 'Preferences',click(){prefman.showPreferences()}},
{type: 'separator'}, {type: 'separator'},