mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-20 08:02:12 +00:00
fix: w2g links
This commit is contained in:
parent
a6b026d9b0
commit
cd23d0b4f3
3 changed files with 5 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "4.2.5",
|
||||
"version": "4.2.6",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||
"main": "build/main.js",
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
import RSSView from './views/RSSView.svelte'
|
||||
import Menubar from './components/Menubar.svelte'
|
||||
import IspBlock from './views/IspBlock.svelte'
|
||||
import { Toaster, toast } from 'svelte-sonner'
|
||||
import { Toaster } from 'svelte-sonner'
|
||||
|
||||
setContext('view', view)
|
||||
|
||||
|
|
|
|||
|
|
@ -130,8 +130,8 @@
|
|||
index: 0
|
||||
}
|
||||
|
||||
window.IPC.on('w2glink', () => {
|
||||
joinLobby()
|
||||
window.IPC.on('w2glink', link => {
|
||||
joinLobby(link)
|
||||
page.set('watchtogether')
|
||||
})
|
||||
|
||||
|
|
@ -163,6 +163,7 @@
|
|||
if (!invite) return
|
||||
const match = invite?.match(inviteRx)?.[1]
|
||||
if (!match) return
|
||||
console.log(match)
|
||||
page.set('watchtogether')
|
||||
joinLobby(match)
|
||||
joinText = ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue