pinokiod 3.6.4 → 3.6.6
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/ffmpeg.js +1 -1
- package/kernel/index.js +10 -10
- package/package.json +1 -1
package/kernel/bin/ffmpeg.js
CHANGED
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) {
|