aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-05-02 13:43:45 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-05-02 13:43:45 -0500
commit8408fc77c1e89637534db62965068572a400a2c6 (patch)
tree92938dcb4c3c8b06e6e3dbc42971bb22c341b62c /docker
parenta2e79c0928c34e753953ccf34af63225046b8db9 (diff)
updater: SLR auto-update + wire fluorine updater badge, bump 0.2.0
- OrganizerCore: add fluorineUpdater() getter + checkForSlrUpdates() fired from startup checkForUpdates(); detached thread runs downloadSlr when SLR already installed so steamrt4 BUILD_ID drift is picked up without a launch-time stall. - MainWindow: connect FluorineUpdater::updateAvailable to existing updateAvailable() slot so the statusbar badge + actionUpdate light up; on_actionUpdate_triggered routes to Settings -> Updates when a Fluorine update is pending (the MO2 self-updater path is no-op'd). - MainWindow launch path: drop !isSlrInstalled() short-circuit; fresh installs still get the progress dialog, up-to-date checks rely on the startup background pass. - SettingsDialog: selectTabByLabel() so MainWindow can open Updates tab. - Launcher: rm -rf update-staging/ once a new bundle has synced into bin/, so the in-app updater doesn't accumulate stale extracts. - CMakeLists.txt: 0.1.4 -> 0.2.0. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/build-inner.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/build-inner.sh b/docker/build-inner.sh
index 7adab23..24e965a 100755
--- a/docker/build-inner.sh
+++ b/docker/build-inner.sh
@@ -454,6 +454,11 @@ if [ "${HERE_REAL}" != "${DST_REAL}" ]; then
cp -af "${MANIFEST}" "${BIN_DST}/fluorine-manifest.txt"
echo "${CURRENT_VER}" > "${MARKER}"
echo "Sync complete." >&2
+
+ # Clean up the in-app updater's staging directory once the new bundle
+ # is live. Untouched if the user didn't go through the in-app updater.
+ STAGING_DIR="${FLUORINE_DATA}/update-staging"
+ [ -d "${STAGING_DIR}" ] && rm -rf "${STAGING_DIR}" 2>/dev/null || true
fi
fi