pinokiod 3.19.6 → 3.19.7
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/cli.js +3 -1
- package/package.json +1 -1
- package/server/views/index.ejs +1 -0
package/kernel/bin/cli.js
CHANGED
|
@@ -6,11 +6,12 @@ class CLI {
|
|
|
6
6
|
}, ondata)
|
|
7
7
|
}
|
|
8
8
|
async installed(req, ondata) {
|
|
9
|
-
console.log("Check installed")
|
|
9
|
+
console.log("Check CLI installed")
|
|
10
10
|
if (this.kernel.which('pinokio')) {
|
|
11
11
|
let res = await this.kernel.exec({
|
|
12
12
|
message: "pinokio version terminal"
|
|
13
13
|
}, ondata)
|
|
14
|
+
console.log("RES", res)
|
|
14
15
|
if (/.*pterm@0\.0\.6.*/.test(res.stdout)) {
|
|
15
16
|
console.log("Installed")
|
|
16
17
|
return true
|
|
@@ -19,6 +20,7 @@ class CLI {
|
|
|
19
20
|
return false
|
|
20
21
|
}
|
|
21
22
|
} else {
|
|
23
|
+
console.log("FALSE")
|
|
22
24
|
return false
|
|
23
25
|
}
|
|
24
26
|
}
|
package/package.json
CHANGED
package/server/views/index.ejs
CHANGED