Skip to content

Commit 0f1b084

Browse files
committed
add exe and appimage release format
1 parent f9bcf3f commit 0f1b084

2 files changed

Lines changed: 18 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
shell: bash
3535
run: |
3636
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
37-
./gradlew composeApp:packageReleaseDeb --info --stacktrace
37+
./gradlew composeApp:packageReleaseDeb composeApp:packageReleaseAppImage --info --stacktrace
3838
elif [[ "${{ matrix.os }}" == "windows-latest" ]]; then
39-
./gradlew composeApp:packageReleaseMsi --info --stacktrace
39+
./gradlew composeApp:packageReleaseMsi composeApp:packageReleaseExe --info --stacktrace
4040
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
4141
./gradlew composeApp:packageReleaseDmg --info --stacktrace
4242
fi
@@ -47,7 +47,9 @@ jobs:
4747
name: dalvikus-${{ matrix.os }}
4848
path: |
4949
composeApp/build/compose/binaries/**/*.deb
50+
composeApp/build/compose/binaries/**/*.AppImage
5051
composeApp/build/compose/binaries/**/*.msi
52+
composeApp/build/compose/binaries/**/*.exe
5153
composeApp/build/compose/binaries/**/*.dmg
5254
5355
release:
@@ -61,12 +63,14 @@ jobs:
6163
- name: Download all installer artifacts
6264
uses: actions/download-artifact@v4
6365
with:
64-
path: artifacts # All artifacts will be downloaded into this directory
66+
path: artifacts # All artifacts downloaded here
6567

6668
- name: Create Release
6769
uses: softprops/action-gh-release@v2
6870
with:
6971
files: |
7072
artifacts/dalvikus-ubuntu-latest/**/*.deb
73+
artifacts/dalvikus-ubuntu-latest/**/*.AppImage
7174
artifacts/dalvikus-windows-latest/**/*.msi
72-
artifacts/dalvikus-macos-latest/**/*.dmg
75+
artifacts/dalvikus-windows-latest/**/*.exe
76+
artifacts/dalvikus-macos-latest/**/*.dmg

composeApp/build.gradle.kts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,26 @@ compose.desktop {
7474
}
7575

7676
nativeDistributions {
77-
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
77+
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Exe, TargetFormat.Deb, TargetFormat.AppImage)
7878
packageName = "dalvikus"
79-
packageVersion = "1.0.1"
79+
packageVersion = "1.0.2"
8080
description = "Dalvikus is a versatile tool for working with Dalvik bytecode, APKs, and Android applications."
8181
vendor = "Leonhard Kohl-Loerting"
8282
copyright = "© 2025 Leonhard Kohl-Loerting - License: GPL-3.0"
83+
licenseFile.set(project.file("LICENSE"))
84+
8385

8486
linux {
8587
iconFile.set(project.file("desktopAppIcons/logo.png"))
88+
debPackageVersion = packageVersion
89+
debMaintainer = "Leonhard Kohl-Loerting"
8690
}
91+
8792
windows {
8893
iconFile.set(project.file("desktopAppIcons/logo.ico"))
94+
exePackageVersion = packageVersion
95+
msiPackageVersion = packageVersion
96+
8997
}
9098
macOS {
9199
iconFile.set(project.file("desktopAppIcons/logo.icns"))

0 commit comments

Comments
 (0)