Handle PR comments from mrge

This commit is contained in:
Will Chen
2025-04-23 12:58:23 -07:00
parent 5e29ffc2e2
commit deb3c2d362
3 changed files with 9 additions and 1 deletions

View File

@@ -164,6 +164,7 @@ function handleDeepLinkReturn(url: string) {
"Invalid Protocol",
`Expected dyad://, got ${parsed.protocol}. Full URL: ${url}`
);
return;
}
if (parsed.hostname === "supabase-oauth-return") {
const token = parsed.searchParams.get("token");
@@ -183,6 +184,7 @@ function handleDeepLinkReturn(url: string) {
url,
});
}
dialog.showErrorBox("Invalid deep link URL", url);
}
// Quit when all windows are closed, except on macOS. There, it's common