File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!-- Browser Workbench Script -->
12<script >
23 import "@codeeditorland/output/vs/code/browser/workbench/workbench.js";
34</script >
Original file line number Diff line number Diff line change 22<script is:inline type =" module" defer >
33 import { Install } from "@codeeditorland/wind";
44
5+ console.log("[Sky] Installing Wind preload...");
6+
57 // Install the Wind preload polyfill (window.vscode globals)
68 // This must run before VSCode workbench.js which expects window.vscode
79 Install().then(() => {
8- console.log("[Sky] Wind preload installed successfully");
10+ console.log("[Sky] ✓ Wind preload installed successfully");
11+
12+ // Verify preloadGlobals is available
13+ if (window.preloadGlobals && window.preloadGlobals.process) {
14+ console.log("[Sky] ✓ preloadGlobals.process is available");
15+ } else {
16+ console.warn("[Sky] ⚠ preloadGlobals.process not available");
17+ }
18+
19+ // Verify window.vscode is available
20+ if (window.vscode) {
21+ console.log("[Sky] ✓ window.vscode is available");
22+ } else {
23+ console.error("[Sky] ✗ window.vscode not available");
24+ }
925 }).catch((error) => {
10- console.error("[Sky] Wind preload install error:", error);
26+ console.error("[Sky] ✗ Wind preload install error:", error);
1127 });
1228</script >
1329
1430<!-- VSCode Workbench Script -->
1531<script >
16- import "@codeeditorland/output/vs/code/electron-browser/workbench/workbench.js";
32+ try {
33+ import "@codeeditorland/output/vs/code/electron-browser/workbench/workbench.js";
34+ console.log("[Sky] VSCode workbench script loaded successfully");
35+ } catch (error) {
36+ console.error("[Sky] Failed to load VSCode workbench:", error);
37+ }
1738</script >
You can’t perform that action at this time.
0 commit comments