feat: About updater, Start with Windows, AppData install - #1
Merged
Conversation
About and a GitHub-releases updater live on the existing hamburger settings
popup (the version header), not a separate Window. The updater idea is
adapted from Markdown Midget (version parse/compare, UpdateOffer, win-x64
asset feed, Authenticode, portable apply) rather than a chrome copy.
Aperture assets are Aperture-v{tag}-win-x64.exe; prereleases stay in the
feed so current beta users can update. Apply is portable — there is no
installer yet — and a Start-with-Windows Run-key is retargeted at the new
exe when that checkbox was on.
Start with Windows is a Settings checkbox next to Include videos / Group by
date. Source of truth is HKCU\...\Run\Aperture (quoted ProcessPath); registry
failures never throw. Off by default.
Product choice: with no stable GitHub release yet, the newest-release line
shows the newest prerelease tag rather than "none published".
UNVERIFIED: live Authenticode on a downloaded GitHub asset; end-to-end
apply/restart; hamburger layout on a short display (WPF, not exercised in UI).
Copy Markdown Midget's installer/update stack onto the hamburger (not a separate Window / WiX / Squirrel): - Updates/* moved to Aperture.App/Updates (internal + InternalsVisibleTo). Installed apply uses the in-place rename dance; portable apply still drops the versioned exe next to the running one. Authenticode requires O="Funcular Labs, Inc." and the MS Identity Verification root. - RegistrationService copies to %LocalAppData%\Programs\Aperture, Start menu + optional Desktop .lnk, uninstall, --finish-move. No ProgID / .md association. - After install or update, HKCU Run\Aperture is rewritten to the AppData exe when Start with Windows is on, so logon does not keep a Downloads path. An installed launch also repairs a stale Run value. - Hamburger: (installed)/(portable), on-disk version mismatch, Install / Uninstall buttons next to the existing SETTINGS actions. UNVERIFIED: live Authenticode on a GitHub asset; end-to-end install/update restart; hamburger layout on a short display (WPF).
Promote the About/updater/install work from Unreleased so PR #1 ships as 0.8.1-beta1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
About + in-app updater, Start with Windows, and Midget's AppData installer/update stack on Aperture's existing hamburger Settings popup (hamburger SettingsToggle). Not a separate About window.
Commits: c8200de then ed7877e on feat/about-updater-start-with-windows.
How to test
Copied vs adapted
About — Midget's About idea (version, installed/portable, newest stable/prerelease, Update buttons, status/progress), wired into the existing hamburger Popup. Not a copy of AboutDialog Window chrome.
Start with Windows — New (Midget has no autostart checkbox; its Settings Startup is blank-document vs no-document). SETTINGS checkbox. Run key retargeted after install/update. An installed launch also repairs a stale Run value.
Installer / updater — Copied Midget's stack, not WiX/MSIX/Squirrel/Velopack/Inno:
Adapted only: repo FuncularLabs/Aperture, User-Agent Aperture-Updater, asset suffix -win-x64.exe (not -win-x64-net10.exe), install dir Programs\Aperture\Aperture.exe, staged prefix .aperture-update-staged.
Do not merge from this agent.