feat(deeplink): implement custom deep link handling and remove electron-app-universal-protocol-client

This commit is contained in:
Elysia
2026-01-18 00:45:25 +08:00
parent a476db84ee
commit c7b3257a2c
5 changed files with 99 additions and 18 deletions

View File

@@ -1,5 +1,6 @@
import { dialog } from 'electron'
import { deepLink } from './deeplink';
export async function handleUrlScheme(requestUrl: string) {
console.log('Handling URL scheme request:', requestUrl);
}
deepLink.on("event", (query) => {
console.log(`Deep link: event "event" fired with query: ${JSON.stringify(query)}`);
});