pinokiod 3.6.4 → 3.6.5

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.
Files changed (2) hide show
  1. package/kernel/index.js +10 -10
  2. package/package.json +1 -1
package/kernel/index.js CHANGED
@@ -373,16 +373,16 @@ class Kernel {
373
373
  async initHome() {
374
374
  if (this.homedir) {
375
375
  await fs.promises.mkdir(this.homedir, { recursive: true }).catch((e) => {})
376
- if (this.platform === "win32") {
377
- console.log("[initHome] 1 Give full permission")
378
- await this.bin.exec({
379
- sudo: true,
380
- message: `icacls ${this.homedir} /grant *S-1-1-0:(OI)(CI)F /T`
381
- }, (stream) => {
382
- process.stdout.write(stream.raw)
383
- })
384
- console.log("[initHome] 2 Give full permission done")
385
- }
376
+ // if (this.platform === "win32") {
377
+ // console.log("[initHome] 1 Give full permission")
378
+ // await this.bin.exec({
379
+ // sudo: true,
380
+ // message: `icacls ${this.homedir} /grant *S-1-1-0:(OI)(CI)F /T`
381
+ // }, (stream) => {
382
+ // process.stdout.write(stream.raw)
383
+ // })
384
+ // console.log("[initHome] 2 Give full permission done")
385
+ // }
386
386
  }
387
387
  }
388
388
  async init(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.6.4",
3
+ "version": "3.6.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {