pinokiod 3.2.186 → 3.2.187
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
|
@@ -315,7 +315,7 @@ class Kernel {
|
|
|
315
315
|
await fs.promises.mkdir(this.homedir, { recursive: true }).catch((e) => {})
|
|
316
316
|
|
|
317
317
|
// If the homedir was newly created, give full permission to pinokio folder on windows
|
|
318
|
-
if (this.
|
|
318
|
+
if (this.platform === "win32") {
|
|
319
319
|
console.log("2 Give full permission")
|
|
320
320
|
await this.bin.exec({
|
|
321
321
|
sudo: true,
|