coder-config 0.49.8-beta → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ui/dist/index.html
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
<!-- PWA Manifest -->
|
|
21
21
|
<link rel="manifest" href="/manifest.json">
|
|
22
|
-
<script type="module" crossorigin src="/assets/index-
|
|
22
|
+
<script type="module" crossorigin src="/assets/index-D-t28vUb.js"></script>
|
|
23
23
|
<link rel="stylesheet" crossorigin href="/assets/index-BiF3i3y5.css">
|
|
24
24
|
</head>
|
|
25
25
|
<body>
|
package/ui/routes/statuslines.js
CHANGED
|
@@ -314,9 +314,10 @@ function setStatusline(body) {
|
|
|
314
314
|
if (!scriptContent) return { success: false, error: 'scriptContent required for custom preset' };
|
|
315
315
|
cmd = writeScript('custom', scriptContent);
|
|
316
316
|
} else {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
// Use provided scriptContent if given (user edited the script), else fall back to built-in template
|
|
318
|
+
const script = scriptContent || SCRIPTS[presetId];
|
|
319
|
+
if (!script) return { success: false, error: `Unknown preset: ${presetId}` };
|
|
320
|
+
cmd = writeScript(presetId, script);
|
|
320
321
|
}
|
|
321
322
|
|
|
322
323
|
settings.statusLine = { type: 'command', command: cmd };
|