mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-05-18 04:01:47 +00:00
fix: support old CPUs
This commit is contained in:
parent
8a7bc1e167
commit
a690f41d27
2 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "3.11.1",
|
||||
"version": "3.11.2",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||
"main": "src/index.js",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import JASSUB from 'jassub'
|
||||
import workerUrl from 'jassub/dist/jassub-worker.js?url'
|
||||
import modernWasmUrl from 'jassub/dist/jassub-worker-modern.wasm?url'
|
||||
import wasmUrl from 'jassub/dist/jassub-worker.wasm?url'
|
||||
import { toTS, videoRx, subRx } from './util.js'
|
||||
import { set } from '@/lib/Settings.svelte'
|
||||
|
||||
|
|
@ -163,6 +164,7 @@ export default class Subtitles {
|
|||
'roboto medium': './Roboto.ttf'
|
||||
},
|
||||
workerUrl,
|
||||
wasmUrl,
|
||||
modernWasmUrl,
|
||||
useLocalFonts: set.missingFont,
|
||||
dropAllBlur: set.disableSubtitleBlur
|
||||
|
|
|
|||
Loading…
Reference in a new issue