mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-21 08:31:58 +00:00
fix: exclude ASW releases due to malformed metadata
This commit is contained in:
parent
9f99b4e235
commit
1fa0d1437c
3 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Miru",
|
"name": "Miru",
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@
|
||||||
|
|
||||||
let fileMedia = null
|
let fileMedia = null
|
||||||
|
|
||||||
const exclusions = ['DTS']
|
const exclusions = ['DTS', '[ASW]']
|
||||||
|
|
||||||
const video = document.createElement('video')
|
const video = document.createElement('video')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
import { writable } from 'svelte/store'
|
import { writable } from 'svelte/store'
|
||||||
const toasts = writable({})
|
const toasts = writable({})
|
||||||
let index = 0
|
let index = 0
|
||||||
export function addToast(opts) {
|
export function addToast (opts) {
|
||||||
// type, click, title, text
|
// type, click, title, text
|
||||||
toasts.update(toasts => {
|
toasts.update(toasts => {
|
||||||
const i = ++index
|
const i = ++index
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
return toasts
|
return toasts
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
function close(index) {
|
function close (index) {
|
||||||
toasts.update(toasts => {
|
toasts.update(toasts => {
|
||||||
if (toasts[index]) {
|
if (toasts[index]) {
|
||||||
delete toasts[index]
|
delete toasts[index]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue