Skip to content

Commit 0323c91

Browse files
1 parent 3e71aa5 commit 0323c91

3 files changed

Lines changed: 14 additions & 12 deletions

File tree

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
custom: https://Stripe.PlayForm.LTD/b/3csdQZfzn2LDaBOcMN
1+
custom: https://Stripe.PlayForm.Cloud/b/3csdQZfzn2LDaBOcMN
22
open_collective: code-editor-land

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ A simple skeleton with TailwindCSS, PostCSS.
66
<tr>
77
<td>
88
<picture>
9-
<source media="(prefers-color-scheme: dark)" srcset="https://PlayForm.LTD/Dark/Image/GitHub/tailwindcss.svg">
10-
<source media="(prefers-color-scheme: light)" srcset="https://PlayForm.LTD/Image/GitHub/tailwindcss.svg">
11-
<img alt="TailwindCSS Logo" src="https://PlayForm.LTD/Dark/Image/GitHub/tailwindcss.svg" width="300" />
9+
<source media="(prefers-color-scheme: dark)" srcset="https://PlayForm.Cloud/Dark/Image/GitHub/tailwindcss.svg">
10+
<source media="(prefers-color-scheme: light)" srcset="https://PlayForm.Cloud/Image/GitHub/tailwindcss.svg">
11+
<img alt="TailwindCSS Logo" src="https://PlayForm.Cloud/Dark/Image/GitHub/tailwindcss.svg" width="300" />
1212
</picture>
1313
</td>
1414
<td>
1515
<picture>
16-
<source media="(prefers-color-scheme: dark)" srcset="https://PlayForm.LTD/Image/GitHub/postcss.svg">
17-
<img alt="PostCSS Logo" src="https://PlayForm.LTD/Image/GitHub/postcss.svg" width="150" />
16+
<source media="(prefers-color-scheme: dark)" srcset="https://PlayForm.Cloud/Image/GitHub/postcss.svg">
17+
<img alt="PostCSS Logo" src="https://PlayForm.Cloud/Image/GitHub/postcss.svg" width="150" />
1818
</picture>
1919
</td>
2020
</tr>

Source/pages/Application.astro

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ const Site = Astro.site;
66
77
const Worker = `/Worker.js?BASE_REMOTE=${encodeURIComponent(Site?.toString() ?? Astro.url.origin)}`;
88
9+
export const On =
10+
process.env["NODE_ENV"] === "development" ||
11+
process.env["TAURI_ENV_DEBUG"] === "true";
12+
913
const Default = {
1014
// --- Core Local Configuration ---
1115
// Explicitly set to null to indicate no remote server authority
@@ -127,9 +131,9 @@ const Default = {
127131
// --- Development ---
128132
developmentOptions: {
129133
// Set to Trace (1) or Debug (2) for maximum insight during development
130-
logLevel: 2,
134+
logLevel: On ? 2 : 0,
131135
132-
enableSmokeTestDriver: false,
136+
enableSmokeTestDriver: On,
133137
134138
// Only set if running integration tests
135139
// extensionTestsPath: undefined,
@@ -145,7 +149,7 @@ const Default = {
145149
} satisfies IWorkbenchConstructionOptions as IWorkbenchConstructionOptions;
146150
147151
const Bust = (Base: string): string =>
148-
`${Base}${Base.includes("?") ? "&" : "?"}v=${encodeURIComponent(Date.now())}`;
152+
`${Base}${Base.includes("?") ? "&" : "?"}Time=${encodeURIComponent(Date.now())}`;
149153
150154
const Bundle = typeof process.env["Bundle"] !== "undefined";
151155
---
@@ -199,7 +203,7 @@ const Bundle = typeof process.env["Bundle"] !== "undefined";
199203
type="module"
200204
src={Bust("/Worker/CSS/Load.js")}
201205
slot="Head"
202-
/>
206+
/>
203207

204208
<script
205209
is:inline
@@ -213,7 +217,6 @@ const Bundle = typeof process.env["Bundle"] !== "undefined";
213217
type="module"
214218
src={Bust("/Worker/Register.js")}
215219
slot="Head"
216-
defer
217220
/>
218221

219222
<script
@@ -222,7 +225,6 @@ const Bundle = typeof process.env["Bundle"] !== "undefined";
222225
src={Bust(
223226
"/Static/Application/vs/code/browser/workbench/workbench.js",
224227
)}
225-
defer
226228
/>
227229
</Fragment>
228230
)

0 commit comments

Comments
 (0)