mac menu changes
This commit is contained in:
parent
641160d76c
commit
7f97ee4890
@ -10,14 +10,10 @@ export default (mainWindow: BrowserWindow) => {
|
||||
const isDevelopment = process.env.NODE_ENV === 'development'
|
||||
if (process.platform === 'darwin') {
|
||||
// OS X
|
||||
const name = 'electron-nuxt3'
|
||||
const name = 'Crunchyroll Downloader'
|
||||
template.unshift({
|
||||
label: name,
|
||||
submenu: [
|
||||
{
|
||||
label: 'About ' + name,
|
||||
role: 'about'
|
||||
},
|
||||
{
|
||||
label: 'Quit',
|
||||
accelerator: 'Command+Q',
|
||||
@ -25,16 +21,6 @@ export default (mainWindow: BrowserWindow) => {
|
||||
app.quit()
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Reload',
|
||||
accelerator: 'Command+R',
|
||||
click() {
|
||||
// Reload the current window
|
||||
if (mainWindow) {
|
||||
mainWindow.reload()
|
||||
}
|
||||
}
|
||||
},
|
||||
...(isDevelopment
|
||||
? [
|
||||
{
|
||||
|
Reference in New Issue
Block a user