pinokiod 1.3.68 → 1.3.69
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 -1
- package/package.json +1 -1
package/kernel/index.js
CHANGED
|
@@ -293,8 +293,8 @@ class Kernel {
|
|
|
293
293
|
await this.api.init()
|
|
294
294
|
|
|
295
295
|
|
|
296
|
-
this.sys = new Sysinfo()
|
|
297
296
|
if (this.homedir) {
|
|
297
|
+
this.sys = new Sysinfo()
|
|
298
298
|
await this.sys.init(this)
|
|
299
299
|
let info = this.sys.info
|
|
300
300
|
await fs.promises.mkdir(this.path("logs"), { recursive: true }).catch((e) => { })
|