mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
feat: add task toggle start action to protocol handler
This commit is contained in:
parent
6db418fb43
commit
9efa649857
2 changed files with 6 additions and 10 deletions
|
|
@ -44,6 +44,12 @@ export const processProtocolUrl = (url: string, mainWin: BrowserWindow | null):
|
|||
}
|
||||
}
|
||||
break;
|
||||
case 'task-toggle-start':
|
||||
// Send IPC message to toggle task start
|
||||
if (mainWin && mainWin.webContents) {
|
||||
mainWin.webContents.send(IPC.TASK_TOGGLE_START);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
log('Unknown protocol action:', action);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue