wai-quantum-desktop 0.1.1: an app on an external drive updates itself, and one on a disk image does not #580
Loading…
Reference in a new issue
No description provided.
Delete branch "wai/quantum-desktop-0.1.1-b"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces #577 and #573: the same change on current main, on top of #574, which moved the desktop's updater to 2.14.1 and
zipto 9.2.2. Both earlier PRs conflicted only in the changelog, and #577 had passed all 20 checks; the entry now sits beside thezipnote, away from the top where every PR inserts.The macOS app decided it was on its disk image by whether its path began with
/Volumes. That is wrong in both directions, and this makes it ask the volume instead. The release of 0.1.0 found it: the runner's working folder is on an external drive, so the Apple silicon build failed its ownupdate-statuscheck./Volumes/Scratch/…/Volumes"updates_itself":true, and could not"updates_itself":true, and could not/ApplicationsWhat changes
on_read_only_volume: the volume's read-only flag (statvfs, throughrustix's safe call), on macOS.installed_byandupdates_itselftake the answer, so their tests state each case.wai-quantum-studio.ymlholds that it ran.Cargo.toml,tauri.conf.jsonand the lockfile. The tagwai-quantum-desktop-v0.1.0and its release stay as they are; nothing points to them, and 0.1.1 is the first version with installers for every platform.rustixwas already in the lockfile, at the same version.Checked
/Volumeson an Apple silicon Mac. The volume's flag reads read-only for the app inside it, and writable for an ordinary file. The 0.1.0 build run from there under Rosetta says"updates_itself":true, the bug in the second row.cargo tree -i zipgiveszip9.2.2 throughtauri-plugin-updater2.14.1.cargo test --locked --release, 20 passed, includinga_read_only_volume_is_told_from_a_writable_one,only_a_copy_installed_by_its_own_installer_updates_itselfandan_update_is_held_to_this_build_s_key_and_the_version_it_was_signed_for.cargo clippy --locked --release --all-targets -- -D warningsis clean.🤖 Generated with Claude Code