Skip to content

Commit b5d27a1

Browse files
committed
Automatically execute update command in terminal
1 parent 7b182a4 commit b5d27a1

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎apps/editor/src/views/prompt/backend/message-handlers/handle-update-extension.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ export const handle_update_extension = () => {
99

1010
if (os.platform() === 'win32') {
1111
terminal.sendText(
12-
`powershell -c "& ([scriptblock]::Create((irm https://raw.githubusercontent.com/robertpiosik/CodeWebChat/main/install.ps1))) '${uriScheme}'"`,
13-
false
12+
`powershell -c "& ([scriptblock]::Create((irm https://raw.githubusercontent.com/robertpiosik/CodeWebChat/main/install.ps1))) '${uriScheme}'"`
1413
)
1514
} else {
1615
terminal.sendText(
17-
`curl -fsSL https://raw.githubusercontent.com/robertpiosik/CodeWebChat/main/install.sh | bash -s -- "${uriScheme}"`,
18-
false
16+
`curl -fsSL https://raw.githubusercontent.com/robertpiosik/CodeWebChat/main/install.sh | bash -s -- "${uriScheme}"`
1917
)
2018
}
2119
}

0 commit comments

Comments
 (0)