Skip to content

Commit bc4ed1b

Browse files
feat: support ARM32 binary updates for Allium and Onion
Upload the ARM32 binary as grout-arm32 alongside the ARM64 grout binary. GetAssetName now returns grout-arm32 for Allium and Onion so the in-app updater downloads the correct architecture binary.
1 parent 5099974 commit bc4ed1b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ jobs:
8383
- name: Build and Package (32-bit)
8484
run: task build-32 extract-32 package-allium package-onion
8585

86+
- name: Rename ARM32 binary for release
87+
run: cp build32/grout build32/grout-arm32
88+
8689
- name: Create NextUI distribution
8790
run: |
8891
cd dist/Grout.pak
@@ -152,5 +155,6 @@ jobs:
152155
dist/Grout-Trimui.zip
153156
dist/Grout-Batocera.zip
154157
build64/grout
158+
build32/grout-arm32
155159
draft: false
156160
prerelease: ${{ inputs.beta }}

update/updater.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ func GetAssetName(c cfw.CFW) string {
2828
switch c {
2929
case cfw.MuOS, cfw.Knulli, cfw.Spruce, cfw.NextUI, cfw.ROCKNIX, cfw.Trimui, cfw.Batocera:
3030
return "grout"
31+
case cfw.Allium, cfw.Onion:
32+
return "grout-arm32"
3133
default:
3234
return ""
3335
}

0 commit comments

Comments
 (0)