pinokiod 6.0.1 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/bin/ffmpeg.js +5 -4
- package/package.json +1 -1
package/kernel/bin/ffmpeg.js
CHANGED
|
@@ -4,7 +4,7 @@ const { rimraf } = require('rimraf')
|
|
|
4
4
|
const decompress = require('decompress');
|
|
5
5
|
class Ffmpeg {
|
|
6
6
|
cmd() {
|
|
7
|
-
return "ffmpeg=
|
|
7
|
+
return "ffmpeg gdk-pixbuf=2.42.11"
|
|
8
8
|
}
|
|
9
9
|
async install(req, ondata) {
|
|
10
10
|
await this.kernel.bin.exec({
|
|
@@ -15,9 +15,10 @@ class Ffmpeg {
|
|
|
15
15
|
}, ondata)
|
|
16
16
|
}
|
|
17
17
|
async installed() {
|
|
18
|
+
console.log("conda_versions", this.kernel.bin.installed.conda_versions)
|
|
18
19
|
if (this.kernel.bin.installed.conda && this.kernel.bin.installed.conda_versions) {
|
|
19
|
-
let version = this.kernel.bin.installed.conda_versions
|
|
20
|
-
if (version !== "
|
|
20
|
+
let version = this.kernel.bin.installed.conda_versions["gdk-pixbuf"]
|
|
21
|
+
if (version !== "2.42.11") {
|
|
21
22
|
return false
|
|
22
23
|
}
|
|
23
24
|
}
|
|
@@ -25,7 +26,7 @@ class Ffmpeg {
|
|
|
25
26
|
}
|
|
26
27
|
async uninstall(req, ondata) {
|
|
27
28
|
await this.kernel.bin.exec({
|
|
28
|
-
message: "conda remove ffmpeg",
|
|
29
|
+
message: "conda remove ffmpeg gdk-pixbuf",
|
|
29
30
|
}, ondata)
|
|
30
31
|
}
|
|
31
32
|
}
|