mirror of
https://github.com/Ralim/IronOS-Meta.git
synced 2025-04-15 11:27:48 +00:00
Build flipped images in CI
This commit is contained in:
3
.github/workflows/push.yml
vendored
3
.github/workflows/push.yml
vendored
@@ -30,6 +30,9 @@ jobs:
|
||||
- name: build all files for the device
|
||||
run: cd Bootup\ Logos && ./run.sh /tmp/${{ matrix.model }}/ ${{matrix.args}}
|
||||
|
||||
- name: build all files for the device Flipped
|
||||
run: cd Bootup\ Logos && ./run.sh /tmp/${{ matrix.model }}/ ${{matrix.args}} -r
|
||||
|
||||
- name: build logo erase file
|
||||
run: cd Bootup\ Logos && python3 img2logo.py -E erase_stored_image /tmp/${{ matrix.model }}/ ${{matrix.args}}
|
||||
|
||||
|
||||
@@ -238,6 +238,8 @@ def img2hex(
|
||||
deviceSettings = PinecilSettings
|
||||
# Generate both possible outputs
|
||||
output_name = output_filename_base + os.path.basename(input_filename)
|
||||
if flip:
|
||||
output_name +="_L"
|
||||
DFUOutput.writeFile(
|
||||
output_name + ".dfu",
|
||||
data,
|
||||
|
||||
Reference in New Issue
Block a user