Clean install: use normal switch copy, not .offload-aware
All checks were successful
Build / Build (push) Successful in 14s

- update_mode_install(variant, offload_aware_switch): true = update (preserve .offload), false = clean
- Update path calls with true; clean_mode_install calls with false so switch/ is copied normally on fresh install

Made-with: Cursor
This commit is contained in:
2026-03-01 15:15:45 +01:00
parent b0523ada6c
commit 335ea03b05
4 changed files with 12 additions and 7 deletions

View File

@@ -107,9 +107,9 @@ int clean_mode_restore(void) {
return res;
}
// Clean mode: Install files (reuse update mode install)
// Clean mode: Install files (reuse update copy logic, but normal switch copy no .offload preservation)
int clean_mode_install(omninx_variant_t variant) {
return update_mode_install(variant);
return update_mode_install(variant, false);
}
// Remove other staging directories (OmniNX Standard/Light/OC) that exist on SD