Skip to content

Commit

Permalink
0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
squid233 committed Aug 5, 2023
1 parent deaffbf commit d331326
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = "io.github.over-run"
version = "0.2.0"
version = "0.2.1"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.overrun.application

const val VER_CUSTOMIZER = "0.2.0"
const val VER_CUSTOMIZER = "0.2.1"
const val VER_JOML = "1.10.5"

val VER_MAPPING = HashMap<String, Version>()
Expand Down
4 changes: 2 additions & 2 deletions src/jsMain/kotlin/Welcome.kt
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ val Welcome = FC<WelcomeProps> { props ->
// Gradle
// import
if (language == Lang.GROOVY) +"import org.gradle.internal.os.OperatingSystem\n\n"
+"${if (language == Lang.GROOVY) "project.ext." else "val "}overrunglVersion = \"$version\"\n"
+"${if (language == Lang.GROOVY) "project.ext." else "val "}overrunglVersion = \"$version${if (buildType == Type.SNAPSHOT) "-SNAPSHOT" else ""}\"\n"
if (jomlEnabled) +"${if (language == Lang.GROOVY) "project.ext." else "val "}jomlVersion = \"$VER_JOML\"\n"
// natives
Natives.entries.filter { n ->
Expand Down Expand Up @@ -265,7 +265,7 @@ val Welcome = FC<WelcomeProps> { props ->
if (windows.size == 1) {
+" \"${windows[0]}\"\n"
} else if (windows.size > 1) {
+" if (arch.contains(\"64\"))\n \"${Natives.WIN_64}\${if (arch.startsWith(\"aarch64\")) \"-arm64\" else \"\"}\"\n"
+" if (arch.contains(\"64\"))\n \"${Natives.WIN_64}\${if (arch.startsWith(\"aarch64\")) \"-arm64\" else \"\"}\"\n else throw Error(\"Unrecognized or unsupported architecture. Please set \\\"overrunglNatives\\\" manually\")\n"
}
}
+"""
Expand Down

0 comments on commit d331326

Please sign in to comment.