mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 12:53:32 +00:00
Fix/122 (#128)
* fix/122: register quit shortcut for macOS * fix/122: version bump
This commit is contained in:
@@ -115,6 +115,12 @@ app.whenReady().then(() => {
|
||||
app.setAppUserModelId(app.name);
|
||||
}
|
||||
|
||||
// allow usual quit in mac
|
||||
if (process.platform === 'darwin') {
|
||||
globalShortcut.register('Command+Q', () => {
|
||||
win.send('user-request-shutdown');
|
||||
});
|
||||
}
|
||||
createWindow();
|
||||
|
||||
// register global shortcuts
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ontime",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"author": "Carlos Valente",
|
||||
"description": "Time keeping for live events",
|
||||
"repository": "https://github.com/cpvalente/ontime",
|
||||
|
||||
Reference in New Issue
Block a user