machinaos 0.0.56 → 0.0.58
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/bin/cli.js +3 -4
- package/client/dist/assets/{index-Dc269j1G.js → index-ixIgbAk8.js} +133 -133
- package/client/dist/index.html +1 -1
- package/client/package.json +1 -1
- package/client/src/components/CredentialsModal.tsx +368 -1
- package/package.json +1 -1
- package/server/services/browser_service.py +28 -1
- package/server/services/email_service.py +27 -8
package/bin/cli.js
CHANGED
|
@@ -127,10 +127,9 @@ function doctor() {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
function run(script, extraArgs = []) {
|
|
130
|
-
const
|
|
131
|
-
if (extraArgs.length)
|
|
132
|
-
const
|
|
133
|
-
const child = spawn(pm, pmArgs, {
|
|
130
|
+
const npmArgs = ['run', script];
|
|
131
|
+
if (extraArgs.length) npmArgs.push('--', ...extraArgs);
|
|
132
|
+
const child = spawn(process.platform === 'win32' ? 'npm.cmd' : 'npm', npmArgs, {
|
|
134
133
|
cwd: ROOT,
|
|
135
134
|
stdio: 'inherit',
|
|
136
135
|
shell: true,
|