macOS handoff and cider go beep

This commit is contained in:
child_duckling 2022-02-05 16:37:00 -08:00
parent e453bfb94e
commit 74ffd4811c
3 changed files with 18 additions and 0 deletions

View file

@ -174,6 +174,16 @@ export class AppEvents {
utils.getWindow().webContents.send('play', 'url', url)
} else if (arg.includes('/debug/appdata')) {
shell.openPath(app.getPath('userData'))
} else if (arg.includes('/debug/logs')) {
shell.openPath(app.getPath('logs'))
} else if (arg.includes('/discord')) {
shell.openExternal('https://discord.gg/applemusic')
} else if (arg.includes('/github')) {
shell.openExternal('https://github.com/ciderapp/cider')
} else if (arg.includes('/donate')) {
shell.openExternal('https://opencollective.com/ciderapp')
} else if (arg.includes('/beep')) {
shell.beep()
}
}