mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-12 23:48:10 -07:00
Add support for first xfw boot slideshow
This commit is contained in:
@@ -10,6 +10,7 @@ import shutil
|
||||
import zlib
|
||||
import tarfile
|
||||
import math
|
||||
import pathlib
|
||||
|
||||
from slideshow import Main as SlideshowMain
|
||||
|
||||
@@ -137,6 +138,12 @@ class Main(App):
|
||||
return 2
|
||||
|
||||
if self.args.splash:
|
||||
SlideshowMain(no_exit=True)([
|
||||
"-i",
|
||||
str(pathlib.Path(self.args.splash).parent / "xfwfirstboot"),
|
||||
"-o",
|
||||
join(self.args.directory, "xfwfirstboot.bin"),
|
||||
])
|
||||
splash_args = [
|
||||
"-i",
|
||||
self.args.splash,
|
||||
|
||||
Reference in New Issue
Block a user