Skip to content

Commit 27d71cf

Browse files
committed
fix(sync): preserve explore build contracts
1 parent 927ab6a commit 27d71cf

9 files changed

Lines changed: 21 additions & 5544 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ sdk/typescript/src/internal/wire-validators.ts
2929
# The deployable Rust services use the workspace lockfile for reproducible
3030
# container builds.
3131
!Cargo.lock
32+
# The standalone Installer resolves against the shared source tree and owns a
33+
# generated lockfile that must not be committed.
34+
/BitFun-Installer/src-tauri/Cargo.lock
3235

3336
# Monaco Editor - copied from node_modules
3437
public/monaco-editor/

BitFun-Installer/scripts/sync-model-i18n.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function syncOne(languageTag) {
209209
'locales',
210210
localeDir,
211211
'settings',
212-
'ai-model.json'
212+
'models.json'
213213
);
214214
const sourceComponentsPath = path.join(
215215
PROJECT_ROOT,

BitFun-Installer/scripts/sync-theme-i18n.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function writeJson(filePath, data) {
2525
}
2626

2727
function extractThemeNames(source, sourceLabel) {
28-
// Theme preset names live under settings/basics.json → appearance.presets (formerly theme.json → theme.presets).
28+
// Theme preset names live under settings/application.json → appearance.presets (formerly theme.json → theme.presets).
2929
const presets = source?.appearance?.presets;
3030
if (!presets || typeof presets !== "object") {
3131
throw new Error(`Invalid appearance.presets in ${sourceLabel}`);
@@ -63,7 +63,7 @@ function main() {
6363
"locales",
6464
"en-US",
6565
"settings",
66-
"basics.json"
66+
"application.json"
6767
);
6868
const sourceZhPath = path.join(
6969
PROJECT_ROOT,
@@ -73,7 +73,7 @@ function main() {
7373
"locales",
7474
"zh-CN",
7575
"settings",
76-
"basics.json"
76+
"application.json"
7777
);
7878

7979
const targetEnPath = path.join(

0 commit comments

Comments
 (0)