Commit 5f46bb7
committed
refactor(Sky): remove Electron-specific bootstrap script and environment conditionals
- Removed conditional loading of `bootstrap-window.js` from VSCode output in both `Default.astro` and `Application.astro`
- Eliminates legacy Electron-specific initialization code as part of migration to Tauri architecture
- Simplified script loading structure by removing development environment checks (`NODE_ENV`, `TAURI_ENV_DEBUG`)
- Added platform-specific keyboard layout handling in build configuration:
- Mac/Linux keyboard layout files now included in static assets pipeline
- Prepares for native input handling differences in Tauri webview
- Removed redundant Fragment wrapper and debug logging (`console.log(Bundle)`)
This cleanup reduces technical debt from Electron migration while maintaining cross-platform compatibility through proper keyboard layout configuration. The changes align with Land's goal of removing Electron dependencies while preserving VS Code functionality.1 parent 8a44472 commit 5f46bb7
8 files changed
Lines changed: 50 additions & 56 deletions
File tree
- Source
- Workbench
- pages
- Target
- Application
- _astro
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 1 | | |
17 | 2 | | |
18 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 7 | | |
12 | 8 | | |
13 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
153 | 156 | | |
154 | 157 | | |
155 | 158 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
338 | 327 | | |
339 | 328 | | |
340 | 329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
94 | 113 | | |
95 | 114 | | |
96 | 115 | | |
| |||
142 | 161 | | |
143 | 162 | | |
144 | 163 | | |
| 164 | + | |
145 | 165 | | |
146 | 166 | | |
147 | 167 | | |
| |||
331 | 351 | | |
332 | 352 | | |
333 | 353 | | |
334 | | - | |
| 354 | + | |
335 | 355 | | |
336 | | - | |
| 356 | + | |
337 | 357 | | |
338 | | - | |
| 358 | + | |
339 | 359 | | |
340 | | - | |
| 360 | + | |
341 | 361 | | |
342 | | - | |
| 362 | + | |
343 | 363 | | |
344 | | - | |
| 364 | + | |
345 | 365 | | |
346 | 366 | | |
347 | 367 | | |
| 368 | + | |
348 | 369 | | |
349 | 370 | | |
350 | 371 | | |
351 | 372 | | |
352 | 373 | | |
353 | 374 | | |
354 | 375 | | |
| 376 | + | |
355 | 377 | | |
356 | 378 | | |
357 | 379 | | |
| |||
429 | 451 | | |
430 | 452 | | |
431 | 453 | | |
432 | | - | |
433 | 454 | | |
434 | 455 | | |
435 | | - | |
436 | 456 | | |
437 | 457 | | |
438 | 458 | | |
| |||
0 commit comments