Skip to content

Commit 38a385e

Browse files
committed
Publish version v0.1.46-alpha-1
1 parent b3723cc commit 38a385e

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ export const replaceCommand = (command: string, newCommand: string): string => {
88
(packageManagers.includes(cmdName?.toString() || '') ? newCommand : cmdName) || '';
99

1010
// For Windows, wrap the entire command in single quotes to handle spaces in the command
11-
// if (process.platform === 'win32') {
12-
// return `"${quote([
13-
// '&',
14-
// finalCommand.toString(),
15-
// ...cmdArgs.map((arg) => arg?.toString() || ''),
16-
// ])}"`;
17-
// }
11+
if (process.platform === 'win32') {
12+
return (
13+
'& ' + quote([finalCommand.toString(), ...cmdArgs.map((arg) => arg?.toString() || '')])
14+
);
15+
}
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
@@ -1,7 +1,7 @@
11
{
22
"productName": "Onlook",
33
"name": "@onlook/studio",
4-
"version": "0.1.46",
4+
"version": "0.1.46-alpha-1",
55
"homepage": "https://onlook.com",
66
"main": "dist-electron/main/index.js",
77
"description": "The first-ever devtool for designers",

0 commit comments

Comments
 (0)