@trops/dash-core 0.1.319 → 0.1.321
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/dist/electron/index.js +4 -0
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +114 -44
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +73 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -27881,6 +27881,10 @@ const cliController$2 = {
|
|
|
27881
27881
|
stdio: ["pipe", "pipe", "pipe"],
|
|
27882
27882
|
};
|
|
27883
27883
|
if (cwd) {
|
|
27884
|
+
const fs = require("fs");
|
|
27885
|
+
if (!fs.existsSync(cwd)) {
|
|
27886
|
+
fs.mkdirSync(cwd, { recursive: true });
|
|
27887
|
+
}
|
|
27884
27888
|
spawnOpts.cwd = cwd;
|
|
27885
27889
|
}
|
|
27886
27890
|
const child = spawn(binaryPath, args, spawnOpts);
|