mac menu changes

This commit is contained in:
stratuma 2024-05-25 02:34:57 +02:00
parent 641160d76c
commit 7f97ee4890

View File

@ -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
? [
{