mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-31 06:48:35 +00:00
update electron, bring offscreenrender back
This commit is contained in:
parent
0b0633c29e
commit
845df4cba7
2 changed files with 3 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "1.7.7",
|
||||
"version": "1.8.0",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"main": "src/index.js",
|
||||
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.30",
|
||||
"builtin-modules": "^3.2.0",
|
||||
"concurrently": "^7.0.0",
|
||||
"electron": "^16.0.10",
|
||||
"electron": "^18.1.0",
|
||||
"electron-builder": "^22.14.13",
|
||||
"electron-notarize": "^1.1.1",
|
||||
"svelte": "^3.47.0",
|
||||
|
|
|
|||
|
|
@ -122,8 +122,7 @@ export default class Subtitles {
|
|||
video: this.video,
|
||||
subContent: this.headers[this.current].header.slice(0, -1),
|
||||
fonts: this.fonts,
|
||||
workerUrl: 'lib/subtitles-octopus-worker.js',
|
||||
offscreenRender: false
|
||||
workerUrl: 'lib/subtitles-octopus-worker.js'
|
||||
}
|
||||
this.renderer = new SubtitlesOctopus(options)
|
||||
this.selectCaptions(this.current)
|
||||
|
|
|
|||
Loading…
Reference in a new issue