mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 21:20:29 +08:00
fix second instance
This commit is contained in:
parent
45bd63e475
commit
71aedc1b70
@ -79,6 +79,7 @@ app.whenReady().then(async () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
async function handleDeepLink(url: string): Promise<void> {
|
async function handleDeepLink(url: string): Promise<void> {
|
||||||
|
if (!url.startsWith('clash://') && !url.startsWith('mihomo://')) return
|
||||||
try {
|
try {
|
||||||
if (url.startsWith('clash://install-config')) {
|
if (url.startsWith('clash://install-config')) {
|
||||||
url = url
|
url = url
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user