pinokiod 3.19.83 → 3.19.84

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 CHANGED
@@ -2,7 +2,7 @@ const path = require('path')
2
2
  const semver = require('semver')
3
3
  const Util = require('../util')
4
4
  class CLI {
5
- version = ">=0.0.12"
5
+ version = ">=0.0.14"
6
6
  async install(req, ondata) {
7
7
  await this.kernel.exec({
8
8
  message: "npm install -g pterm@latest --force",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.19.83",
3
+ "version": "3.19.84",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -5017,7 +5017,9 @@ class Server {
5017
5017
  res.json({ success: true })
5018
5018
  }))
5019
5019
  this.app.get("/pinokio/version", ex(async (req, res) => {
5020
- res.json(this.version)
5020
+ let version = this.version
5021
+ version.script = this.kernel.schema.replace(/[^0-9.]+/,'')
5022
+ res.json(version)
5021
5023
  }))
5022
5024
  this.app.get("/pinokio/info", ex(async (req, res) => {
5023
5025
  await this.kernel.getInfo(true)