Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
increase version
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Sep 8, 2022
1 parent 4f462b3 commit 655484e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
id("com.squareup.sqldelight") version "1.5.3"
}

val appVersion = "0.1.1"
val appVersion = "0.2.0"

group = "dev.datlag"
version = appVersion
Expand All @@ -21,8 +21,8 @@ repositories {
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}

val ktorfitVersion = "1.0.0-beta11"
val ktorVersion = "2.1.0"
val ktorfitVersion = "1.0.0-beta12"
val ktorVersion = "2.1.1"

dependencies {
implementation("org.jetbrains.compose.desktop:desktop-jvm-linux-x64:1.2.0-alpha01-dev770")
Expand Down Expand Up @@ -71,7 +71,7 @@ compose.desktop {
copyright = "© 2020 Jeff Retz (DatLag). All rights reserved."
licenseFile.set(project.file("LICENSE"))

modules("java.instrument", "java.management", "java.sql", "jdk.unsupported", "io.github.vincenzopalazzo.materialuiswing")
modules("java.instrument", "java.management", "java.prefs", "java.sql", "jdk.unsupported", "io.github.vincenzopalazzo.materialuiswing")
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions src/main/kotlin/dev/datlag/dxvkotool/io/FileExtractor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ object FileExtractor {
archiver.extract(downloadFile, destination)

cache.info.emit(CacheInfo.Processing.FindMatchingFile)
return@runSuspendCatching destination.walkTopDown().firstOrNull {
val destinationTree = destination.walkTopDown()
return@runSuspendCatching destinationTree.firstOrNull {
it.extension.equals("dxvk-cache", true) && it.nameWithoutExtension.equals(name, true)
} ?: destination.walkTopDown().singleOrNull() ?: throw IllegalStateException()
} ?: destinationTree.singleOrNull() ?: throw IllegalStateException()
}

}

0 comments on commit 655484e

Please sign in to comment.