@@ -174,9 +174,11 @@ jobs:
174
174
- image : ubuntu-24.04
175
175
name : x86_64
176
176
dir : x64
177
+ appimage : x86_64
177
178
- image : ubuntu-24.04-arm
178
179
name : arm64
179
180
dir : arm64
181
+ appimage : aarch64
180
182
runs-on : ${{ matrix.arch.image }}
181
183
defaults :
182
184
run :
@@ -257,22 +259,29 @@ jobs:
257
259
run : |
258
260
bash scripts/build-rpm.sh -d ${{ matrix.arch.dir }} -b ${{ matrix.arch.name }}
259
261
- name : Build .AppImage executable
260
- if : ${{ matrix.arch.name == 'x86_64' }}
261
262
run : |
262
- wget -O appimage-builder.AppImage https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
263
- chmod +x appimage-builder.AppImage
264
- sudo mv appimage-builder.AppImage /usr/local/bin/appimage-builder
265
- appimage-builder --recipe AppImageBuilder.yml --skip-test
263
+ wget -O appimagetool.AppImage https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-${{ matrix.arch.appimage }}.AppImage
264
+ chmod +x appimagetool.AppImage
265
+ # Build AppDir
266
+ mkdir -p AppDir/usr/bin
267
+ # move bundle folder to AppDir
268
+ cp build/linux/${{ matrix.arch.dir }}/release/bundle/* AppDir/usr/bin/ -r
269
+ mkdir -p AppDir/usr/share/icons/hicolor
270
+ cp linux/debian/usr/share/icons/hicolor AppDir/usr/share/icons/ -r
271
+ mkdir -p AppDir/usr/share/metainfo/
272
+ cp linux/debian/usr/share/metainfo/dev.linwood.setonix.appdata.xml AppDir/usr/share/metainfo/
273
+ mkdir -p AppDir/usr/share/applications/
274
+ cp linux/debian/usr/share/applications/dev.linwood.setonix.desktop AppDir/usr/share/applications/
275
+ ln -s usr/share/applications/dev.linwood.setonix.desktop AppDir/dev.linwood.setonix.desktop
276
+ ln -s usr/bin/setonix AppDir/AppRun
277
+ ln -s usr/share/icons/hicolor/256x256/apps/dev.linwood.setonix.png AppDir/dev.linwood.setonix.png
278
+ # Build AppImage
279
+ ./appimagetool.AppImage AppDir linwood-setonix-linux-${{ matrix.arch.name }}.AppImage
266
280
- name : Copy nessessary files
267
281
run : |
268
282
cp assets/images/logo.svg build/linux/${{ matrix.arch.dir }}/release/bundle/dev.linwood.setonix.svg
269
283
mkdir -p build/linux/${{ matrix.arch.dir }}/release/bundle/usr/share
270
284
cp -r linux/debian/usr/share build/linux/${{ matrix.arch.dir }}/release/bundle/usr
271
- - name : Rename AppImage
272
- if : ${{ matrix.arch.name == 'x86_64' }}
273
- run : |
274
- ls
275
- mv ./*.AppImage linwood-setonix-linux-${{ matrix.arch.name }}.AppImage
276
285
- name : Copy portable start script
277
286
run : |
278
287
chmod +x scripts/start.sh
@@ -297,11 +306,10 @@ jobs:
297
306
app/build/linwood-setonix-linux-${{ matrix.arch.name }}.rpm
298
307
- name : Archive .AppImage
299
308
uses : actions/upload-artifact@v4
300
- if : ${{ matrix.arch.name == 'x86_64' }}
301
309
with :
302
- name : linux-x86_64 -appimage
310
+ name : linux-${{ matrix.arch.name }} -appimage
303
311
path : |
304
- app/linwood-setonix-linux-x86_64 .AppImage
312
+ app/linwood-setonix-linux-${{ matrix.arch.name }} .AppImage
305
313
build-flatpak :
306
314
name : build-flatpak
307
315
defaults :
@@ -446,7 +454,7 @@ jobs:
446
454
- name : Setup node
447
455
uses : actions/setup-node@v4
448
456
with :
449
- node-version : 24
457
+ node-version : 24.3.0
450
458
- name : Install appdmg
451
459
run : |
452
460
python3 -m pip install setuptools
@@ -682,6 +690,9 @@ jobs:
682
690
- uses : actions/download-artifact@v4
683
691
with :
684
692
name : linux-arm64-rpm
693
+ - uses : actions/download-artifact@v4
694
+ with :
695
+ name : linux-arm64-appimage
685
696
- uses : actions/download-artifact@v4
686
697
with :
687
698
name : linux-arm64-alternative-build
@@ -770,6 +781,7 @@ jobs:
770
781
linwood-setonix-linux-alternative-arm64.tar.gz
771
782
linwood-setonix-linux-arm64.deb
772
783
linwood-setonix-linux-arm64.rpm
784
+ linwood-setonix-linux-arm64.AppImage
773
785
linwood-setonix-macos.zip
774
786
linwood-setonix-macos.dmg
775
787
linwood-setonix-android.apk
@@ -804,6 +816,7 @@ jobs:
804
816
linwood-setonix-linux-alternative-arm64.tar.gz
805
817
linwood-setonix-linux-arm64.deb
806
818
linwood-setonix-linux-arm64.rpm
819
+ linwood-setonix-linux-arm64.AppImage
807
820
linwood-setonix-macos.zip
808
821
linwood-setonix-macos.dmg
809
822
linwood-setonix-android.apk
@@ -836,6 +849,7 @@ jobs:
836
849
linwood-setonix-linux-alternative-arm64.tar.gz
837
850
linwood-setonix-linux-arm64.deb
838
851
linwood-setonix-linux-arm64.rpm
852
+ linwood-setonix-linux-arm64.AppImage
839
853
linwood-setonix-macos.zip
840
854
linwood-setonix-macos.dmg
841
855
linwood-setonix-android.apk
@@ -901,7 +915,7 @@ jobs:
901
915
- name : Setup Fastlane
902
916
uses : ruby/setup-ruby@v1
903
917
with :
904
- ruby-version : " 3.4.4 "
918
+ ruby-version : " 3.4.5 "
905
919
bundler-cache : true
906
920
working-directory : app/android
907
921
- name : 🚀 Deploy to Play Store
0 commit comments