Skip to content

Commit

Permalink
Remove appimage format from windows build, update publish-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Mar 7, 2024
1 parent d42a28e commit fb89c8f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: chmod +x gradlew

- name: Run custom gradle package
run: gradle packageForRelease
run: gradle packageForRelease packageReleaseUberJarForCurrentOS

- name: Upload build
uses: actions/upload-artifact@v2
Expand All @@ -46,7 +46,7 @@ jobs:
if: ${{ matrix.os == 'ubuntu-latest' }}
id: extract_version
run: |
version=`./gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}'`
version=`gradle properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}'`
echo "version=$version" >> $GITHUB_OUTPUT
- name: Create release version artifact
Expand Down
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import de.undercouch.gradle.tasks.download.Download
import org.apache.tools.ant.taskdefs.condition.Os
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
Expand All @@ -8,6 +9,7 @@ plugins {
alias(idofrontLibs.plugins.kotlinx.serialization)
alias(idofrontLibs.plugins.compose)
id("de.undercouch.download") version "5.3.1"
id("com.github.johnrengelman.shadow") version "8.1.1"
}

repositories {
Expand Down Expand Up @@ -71,7 +73,7 @@ compose.desktop {
nativeDistributions {
when {
Os.isFamily(Os.FAMILY_MAC) -> targetFormats(TargetFormat.Dmg)
Os.isFamily(Os.FAMILY_WINDOWS) -> targetFormats(TargetFormat.Exe, TargetFormat.AppImage)
Os.isFamily(Os.FAMILY_WINDOWS) -> targetFormats(TargetFormat.Exe)
else -> targetFormats(TargetFormat.AppImage)
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group=com.mineinabyss
version=2.0.0-alpha.2
version=2.0.0-alpha.3
idofrontVersion=0.22.3
1 change: 0 additions & 1 deletion src/main/kotlin/com/mineinabyss/launchy/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import androidx.compose.ui.window.rememberWindowState
import com.mineinabyss.launchy.data.Dirs
import com.mineinabyss.launchy.data.config.Config
import com.mineinabyss.launchy.data.config.GameInstance
import com.mineinabyss.launchy.data.config.GameInstanceConfig
import com.mineinabyss.launchy.state.LaunchyState
import com.mineinabyss.launchy.ui.colors.AppTheme
import com.mineinabyss.launchy.ui.screens.Screens
Expand Down

0 comments on commit fb89c8f

Please sign in to comment.