Commit 2bcce1f
Support VS Code forks in install scripts
Add CURSORLESS_VSCODE_COMMAND environment variable to allow using
VS Code forks like VSCodium, Cursor, etc. in the install scripts.
- install-from-pr.sh: Use env var with fallback to 'code'
- install-local.sh: Use env var with fallback to 'code'
- uninstall-local.sh: Use env var with fallback to 'code'
- Updated error messages with helpful installation guidance
- Maintains backward compatibility
Closes #3093
Amp-Thread-ID: https://ampcode.com/threads/T-51f7db4c-7163-40d8-a87e-bfd7a6764249
Co-authored-by: Amp <[email protected]>1 parent 4467c47 commit 2bcce1f
File tree
3 files changed
+37
-9
lines changed- packages/cursorless-vscode/scripts
3 files changed
+37
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| |||
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
50 | | - | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | | - | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
3 | 15 | | |
4 | 16 | | |
5 | 17 | | |
| |||
14 | 26 | | |
15 | 27 | | |
16 | 28 | | |
17 | | - | |
| 29 | + | |
18 | 30 | | |
19 | 31 | | |
20 | | - | |
| 32 | + | |
21 | 33 | | |
22 | 34 | | |
23 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
4 | 15 | | |
5 | 16 | | |
6 | 17 | | |
7 | 18 | | |
8 | | - | |
| 19 | + | |
9 | 20 | | |
10 | 21 | | |
11 | | - | |
| 22 | + | |
12 | 23 | | |
13 | 24 | | |
0 commit comments