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

@@ -18,7 +18,8 @@ int perform_installation(omninx_variant_t pack_variant, install_mode_t mode);
// Update mode operations (install_update.c)
int update_mode_cleanup(omninx_variant_t variant);
int update_mode_install(omninx_variant_t variant);
/* offload_aware_switch: true = update (preserve .offload), false = clean (normal copy) */
int update_mode_install(omninx_variant_t variant, bool offload_aware_switch);
int cleanup_staging_directory(omninx_variant_t pack_variant);
// Remove other OmniNX staging directories (Standard/Light/OC) that exist, except the one just installed
int cleanup_other_staging_directories(omninx_variant_t installed_variant);