pinokiod 1.1.19 → 1.1.20
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/index.js +1 -0
- package/package.json +1 -1
package/kernel/index.js
CHANGED
|
@@ -232,6 +232,7 @@ class Kernel {
|
|
|
232
232
|
let sysinfo = new Sysinfo()
|
|
233
233
|
await sysinfo.init()
|
|
234
234
|
let info = sysinfo.info
|
|
235
|
+
await fs.promises.mkdir(this.path("logs"), { recursive: true }).catch((e) => { })
|
|
235
236
|
await fs.promises.writeFile(this.path("logs/system.json"), JSON.stringify({
|
|
236
237
|
platform: this.platform,
|
|
237
238
|
arch: this.arch,
|