mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-07 18:24:14 -04:00
Removing sh dependency by using a fork
This commit is contained in:
parent
ef22cfb5a2
commit
ddf3337acb
10
package-lock.json
generated
10
package-lock.json
generated
@ -7,7 +7,6 @@
|
||||
"": {
|
||||
"name": "kyoo",
|
||||
"version": "0.0.0",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^11.2.6",
|
||||
"@angular/cdk": "^11.2.5",
|
||||
@ -24,7 +23,7 @@
|
||||
"detect-browser": "^5.2.0",
|
||||
"hls.js": "^0.14.17",
|
||||
"jquery": "^3.6.0",
|
||||
"libass-wasm": "https://codeload.github.com/jellyfin/JavascriptSubtitlesOctopus/tar.gz/4.0.0-jf-smarttv",
|
||||
"libass-wasm": "AnonymusRaccoon/JavascriptSubtitlesOctopus",
|
||||
"ngx-infinite-scroll": "^10.0.1",
|
||||
"popper.js": "^1.16.1",
|
||||
"rxjs": "^6.6.6",
|
||||
@ -8515,8 +8514,7 @@
|
||||
},
|
||||
"node_modules/libass-wasm": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://codeload.github.com/jellyfin/JavascriptSubtitlesOctopus/tar.gz/4.0.0-jf-smarttv",
|
||||
"integrity": "sha512-538243/sR62HARJdkKKyfkdSu4Y6KxE3vJc2fNLdQOoApupsauXiM6FlRuCdpHDHe34pbUTEsHK4vbBo7b9Jdg==",
|
||||
"resolved": "git+ssh://git@github.com/AnonymusRaccoon/JavascriptSubtitlesOctopus.git#8462182bcd69579583cb36d9a096a8f0557de1e1",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/license-webpack-plugin": {
|
||||
@ -23317,8 +23315,8 @@
|
||||
}
|
||||
},
|
||||
"libass-wasm": {
|
||||
"version": "https://codeload.github.com/jellyfin/JavascriptSubtitlesOctopus/tar.gz/4.0.0-jf-smarttv",
|
||||
"integrity": "sha512-538243/sR62HARJdkKKyfkdSu4Y6KxE3vJc2fNLdQOoApupsauXiM6FlRuCdpHDHe34pbUTEsHK4vbBo7b9Jdg=="
|
||||
"version": "git+ssh://git@github.com/AnonymusRaccoon/JavascriptSubtitlesOctopus.git#8462182bcd69579583cb36d9a096a8f0557de1e1",
|
||||
"from": "libass-wasm@AnonymusRaccoon/JavascriptSubtitlesOctopus"
|
||||
},
|
||||
"license-webpack-plugin": {
|
||||
"version": "2.3.11",
|
||||
|
@ -5,8 +5,7 @@
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"build": "ng build",
|
||||
"lint": "ng lint",
|
||||
"postinstall": "./subtitles-octopus-fix.sh"
|
||||
"lint": "ng lint"
|
||||
},
|
||||
"private": true,
|
||||
"browserslist": [
|
||||
@ -32,7 +31,7 @@
|
||||
"detect-browser": "^5.2.0",
|
||||
"hls.js": "^0.14.17",
|
||||
"jquery": "^3.6.0",
|
||||
"libass-wasm": "https://codeload.github.com/jellyfin/JavascriptSubtitlesOctopus/tar.gz/4.0.0-jf-smarttv",
|
||||
"libass-wasm": "AnonymusRaccoon/JavascriptSubtitlesOctopus",
|
||||
"ngx-infinite-scroll": "^10.0.1",
|
||||
"popper.js": "^1.16.1",
|
||||
"rxjs": "^6.6.6",
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Small fix to support strict mode in subtitles-octopus while waiting for the PR to be merged & a new version to be released.
|
||||
#
|
||||
|
||||
|
||||
LINE_204=" self.video.addEventListener(\\\"loadedmetadata\\\", function listener(e) {"
|
||||
LINE_205=" e.target.removeEventListener(e.type, listener);"
|
||||
|
||||
sed -i "236s/.*/$LINE_204/" node_modules/libass-wasm/dist/js/subtitles-octopus.js
|
||||
sed -i "237s/.*/$LINE_205/" node_modules/libass-wasm/dist/js/subtitles-octopus.js
|
Loading…
x
Reference in New Issue
Block a user