Skip to content

Commit b872931

Browse files
committed
Publish version v0.2.31
1 parent b1e2bdf commit b872931

File tree

3 files changed

+54
-32
lines changed

3 files changed

+54
-32
lines changed

apps/studio/electron/main/bun/parse.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ export const replaceCommand = (command: string, newCommand: string): string => {
99

1010
// For Windows, add '&' to the command to handle special characters
1111
if (process.platform === 'win32') {
12-
const executable = `"${finalCommand.toString()}"`;
13-
// This is a simplification and assumes args don't need complex escaping.
14-
const args = cmdArgs.map((arg) => arg?.toString() || '');
15-
const fullCommand = [executable, ...args].join(' ');
16-
return `& ${fullCommand}`;
12+
return (
13+
'& ' + quote([finalCommand.toString(), ...cmdArgs.map((arg) => arg?.toString() || '')])
14+
);
1715
}
1816
return quote([finalCommand.toString(), ...cmdArgs.map((arg) => arg?.toString() || '')]);
1917
};

apps/studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"autoprefixer": "^10.4.20",
128128
"css-tree": "^3.1.0",
129129
"electron": "36.0.1",
130-
"electron-builder": "^26.0.12",
130+
"electron-builder": "^26.0.13",
131131
"eslint": "9.x",
132132
"eslint-config-prettier": "^9.1.0",
133133
"eslint-plugin-react": "^7.34.3",

0 commit comments

Comments
 (0)