Repository navigation
FM1Kit 0.2.0
Custom firmwares can now be reinstalled, or updated to another release that keeps the same identity.
Changed
- Installing the identity a custom firmware already reports is no longer refused. Felucca's update code, which Estampie inherits, doesn't compare identities, and firmwares that keep one identity across releases are updated this way. The new
InstallKind.sameIdentityneeds confirming withInstallOptions.confirmsSameIdentity(otherwiseFM1UpdateError.sameIdentityNotConfirmed). - Only V15 over itself is still refused as
reinstall(alreadyInstalled), and open firmware still compares builds. SimulatedFM1.Options.refusesRunningFirmwarenow applies only to V15.
Source-breaking: the new InstallKind case means exhaustive switches over it need updating.
Tested on hardware
Estampie 0.1 (FM-1_378001) installed over V15 (a firmware switch, 37 s), then over itself (sameIdentity, 31 s). See HARDWARE_TESTING.md.
Using it
.package(url: "https://github.com/ocean/FM1Kit.git", .upToNextMinor(from: "0.2.0")),Full changelog: 0.1.0...0.2.0