mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2025-10-11 07:32:34 +02:00
[FL-2556] Update complete screen (#1332)
* Desktop: slideshow implementation * Updater: handling splashscreen installation; added format version field to slideshow binary * Desktop: added bidirectional slideshow navigation + instant cancel by "back" button; Updater: rebalanced update stages weights * Updater: fixed missing field init; fixed potential loop when baking slideshows * Assets: fixed "update complete" image to match original * Desktop: added check for slideshow file version * Scripts: slideshow.py cleanup * Desktop: removed first start intro sequence * Desktop: removed first start remnants
This commit is contained in:
@@ -38,9 +38,9 @@ class Main(App):
|
||||
return 1
|
||||
|
||||
with open(self.args.input, mode="rb") as file:
|
||||
bin = file.read()
|
||||
bindata = file.read()
|
||||
|
||||
data = struct.pack("<II", self.args.address, len(bin)) + bin
|
||||
data = struct.pack("<II", self.args.address, len(bindata)) + bindata
|
||||
|
||||
# Target prefix
|
||||
szTargetName = self.args.label.encode("ascii")
|
||||
|
Reference in New Issue
Block a user