pinokiod 3.4.23 → 3.4.25

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.
@@ -564,7 +564,7 @@ class Bin {
564
564
  if (m.name === name) {
565
565
  //await m.mod.install(this, ondata)
566
566
  const message = `${m.mod.description ? '<br>' + m.mod.description : ''}`
567
- ondata({ html: `<b><i class="fas fa-circle-notch fa-spin"></i> ${progress} Installing ${name}</b>${message}` }, "notify")
567
+ ondata({ html: `<b><i class="fas fa-circle-notch fa-spin"></i> ${progress} Installing ${name}</b>${message}` }, "notify2")
568
568
  console.log("## Before m.mod.install", requirement)
569
569
  await m.mod.install(requirement, ondata, this.kernel)
570
570
 
package/kernel/bin/vs.js CHANGED
@@ -23,14 +23,21 @@ class VS {
23
23
  ondata(stream)
24
24
  })
25
25
  ondata({ raw: `Install finished\r\n\r\n` })
26
- let WARNING = "[NOTICE] If the Visual Studio Install step keeps repeating, open the 'Visual Studio Installer' app on Windows, uninstall it, and retry.\r\n"
26
+ let WARNING = `<div><div>[NOTICE] Visual Studio install step keeps repeating?</div>
27
+ <ol>
28
+ <li>Launch <b>Visual Studio Installer</b> on Windows</li>
29
+ <li>Find <b>Visual Studio Build Tools 2019</b> and <b>Uninstall</b></li>
30
+ <li>And relaunch Pinokio</li>
31
+ </ol></div>`
32
+ /*
27
33
  ondata({
28
34
  raw: `\r\n\x1b[33m${WARNING}\x1b[0m\r\n\r\n`
29
35
  })
36
+ */
30
37
 
31
38
  let html = `<div>
32
39
  <img src="/vsinstaller.gif">
33
- <div>${WARNING}</div>
40
+ <div style="padding=5px; font-size:12px">${WARNING}</div>
34
41
  </div>`
35
42
  ondata({
36
43
  html,
package/kernel/shell.js CHANGED
@@ -103,9 +103,6 @@ class Shell {
103
103
  if (this.env.CMAKE_GENERATOR) {
104
104
  delete this.env.CMAKE_GENERATOR
105
105
  }
106
- if (this.env.SSLKEYLOGFILE) {
107
- delete this.env.SSLKEYLOGFILE
108
- }
109
106
 
110
107
  // if (this.env.CUDA_HOME) {
111
108
  // delete this.env.CUDA_HOME
@@ -115,6 +112,10 @@ class Shell {
115
112
  console.log("Unset env key: " + key)
116
113
  delete this.env[key]
117
114
  }
115
+ if (/.*(SSH|SSL).*/.test(key)) {
116
+ console.log("Unset env key: " + key)
117
+ delete this.env[key]
118
+ }
118
119
  }
119
120
 
120
121
  this.env.CMAKE_OBJECT_PATH_MAX = 1024
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.4.23",
3
+ "version": "3.4.25",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -230,7 +230,7 @@ document.addEventListener("DOMContentLoaded", async () => {
230
230
  type: "moddal",
231
231
  description: packet.data
232
232
  })
233
- } else if (packet.type === "notify") {
233
+ } else if (packet.type === "notify2") {
234
234
  console.log("HTML", packet.data)
235
235
  if (packet.data) {
236
236
  let payload = {}
@@ -240,9 +240,20 @@ document.addEventListener("DOMContentLoaded", async () => {
240
240
  if (packet.data.type) {
241
241
  payload.type = packet.data.type
242
242
  }
243
- // n.Noty(payload)
244
243
  document.querySelector("#status-screen").innerHTML = packet.data.html
245
244
  }
245
+ } else if (packet.type === "notify") {
246
+ console.log("HTML", packet.data)
247
+ if (packet.data) {
248
+ let payload = {}
249
+ if (packet.data.html) {
250
+ payload.text = packet.data.html
251
+ }
252
+ if (packet.data.type) {
253
+ payload.type = packet.data.type
254
+ }
255
+ n.Noty(payload)
256
+ }
246
257
  }
247
258
  })
248
259
  })