mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(desktop): harden capture and release packaging (#2049)
This commit is contained in:
1 parent
5ee59c4675
commit
374db9ed2b
25 files changed
+1394
-1317
No files matched your search
@@ -180,10 +180,6 @@ export function handleDeepLinkUrl(rawUrl: string): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function handleRpcNavigation(path: string): void {
|
||||
RouterUtils.transitionTo(path);
|
||||
}
|
||||
|
||||
let listenerStarted = false;
|
||||
|
||||
export async function startDeepLinkHandling(): Promise<void> {
|
||||
@@ -206,17 +202,6 @@ export async function startDeepLinkHandling(): Promise<void> {
|
||||
logger.error(' Failed to handle URL', url, error);
|
||||
}
|
||||
});
|
||||
if (typeof electronApi.onRpcNavigate === 'function') {
|
||||
electronApi.onRpcNavigate((path: string) => {
|
||||
try {
|
||||
handleRpcNavigation(path);
|
||||
} catch (error) {
|
||||
logger.error(' Failed to handle RPC navigation', path, error);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
logger.warn(' onRpcNavigate not available on this host version');
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user