mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat(core): open desktop directly in subscription landing page (#6661)
This commit is contained in:
@@ -67,6 +67,12 @@ async function handleAffineUrl(url: string) {
|
||||
if (urlObj.hostname === 'signin-redirect') {
|
||||
await handleOauthJwt(url);
|
||||
}
|
||||
if (urlObj.hostname === 'bring-to-front') {
|
||||
const mainWindow = await getMainWindow();
|
||||
if (mainWindow) {
|
||||
mainWindow.show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async function handleOauthJwt(url: string) {
|
||||
|
||||
Reference in New Issue
Block a user