HomeMusing Studio

Fix spm errors and upgrade sparkle (#203)
1bc8468de096Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix spm errors and upgrade sparkle (#203)

  • Switch WriteFreely package import from ssh to https
  • Sign macOS project target for Development

This fixes a crash-on-launch bug when running Product > Run from Xcode (Product > Archive should work correctly). See https://github.com/sparkle-project/Sparkle/issues/2056 for more details.

Bug introduced by commit:
671b0540ac526ca768c163c873ba32ecf01d7210

  • Update Sparkle to v2.0 from official repo

Previously, we forked the repo to the WriteFreely org because Sparkle didn't support tag-based SPM updates. We therefore had to pull from the master branch, so forking insulated us from unexpected changes.

As of 2.x Sparkle now allows for tag-based updating via SPM; we'll allow patch updates but stop short of 2.1 until we can vet changes.

  • Add MacUpdatesViewModel ObservableObject
  • Use MacUpdatesViewModel to handle Sparkle update logic

Details

Provenance
angeloAuthored on Apr 2 2022, 12:03 PM
GitHub <noreply@github.com>Committed on Apr 2 2022, 12:03 PM
Parents
rWFSUI7b68da28a3e8: Update extension iconset
Branches
Unknown
Tags
Unknown

Event Timeline