File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717Safely build from source for any VS Code-based editor (Cursor, Antigravity, VSCodium etc.):
1818
19- > [ !NOTE]
20- > ` raw.githubusercontent.com ` domain is GitHub's, used for downloading repository files.
21-
2219** macOS / Linux**
2320
2421``` bash
25- curl -fsSL https://raw.githubusercontent. com/CodeWebChat/CWC/main/install.sh | bash
22+ curl -fsSL https://github. com/CodeWebChat/CWC/raw/refs/heads /main/install.sh | bash
2623```
2724
2825** Windows**
2926
3027``` powershell
31- powershell -c "irm https://raw.githubusercontent. com/CodeWebChat/CWC/main/install.ps1 | iex"
28+ powershell -c "irm https://github. com/CodeWebChat/CWC/raw/refs/heads /main/install.ps1 | iex"
3229```
3330
3431## Privacy-first
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ export const update_extension = (params: { tag_name: string }) => {
1010
1111 if ( os . platform ( ) === 'win32' ) {
1212 terminal . sendText (
13- `powershell -c "& ([scriptblock]::Create((irm https://raw.githubusercontent. com/CodeWebChat/CWC/main/install.ps1))) -editor '${ uri_scheme } ' -lang '${ lang } ' -tag '${ params . tag_name } '"`
13+ `powershell -c "& ([scriptblock]::Create((irm https://github. com/CodeWebChat/CWC/raw/refs/heads /main/install.ps1))) -editor '${ uri_scheme } ' -lang '${ lang } ' -tag '${ params . tag_name } '"`
1414 )
1515 } else {
1616 terminal . sendText (
17- `curl -fsSL https://raw.githubusercontent. com/CodeWebChat/CWC/main/install.sh | bash -s -- --editor "${ uri_scheme } " --lang "${ lang } " --tag "${ params . tag_name } "`
17+ `curl -fsSL https://github. com/CodeWebChat/CWC/raw/refs/heads /main/install.sh | bash -s -- --editor "${ uri_scheme } " --lang "${ lang } " --tag "${ params . tag_name } "`
1818 )
1919 }
2020}
You can’t perform that action at this time.
0 commit comments