INNER CODE UNIT · TypeScript
flushPendingDeepLinks
BradGroux/veritas-kanban · desktop/src/main/index.ts:197
function flushPendingDeepLinks(): void {
for (const deepLink of pendingDeepLinks.splice(0)) {
handleDeepLink(deepLink);
}
}
function refreshDesktopMenu(): void {
if (!runtime || !commandDispatcher) {
return;
}
const appInfo = createDesktopAppInfo(app.getVersion(), launchPackaged);
configureDesktopMenu({
status: runtime.snapshot(),
updateStatus: updateService?.snapshot(),
copyVersionInfo: () => clipboard.writeText(formatDesktopVersionInfo(appInfo)),
openHelp: () => {
void openValidatedExternalUrl(shell, DESKTOP_HELP_URL);