Skip to content

Commit

Permalink
Table sort for Windows and commit modified libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed May 31, 2024
1 parent e5506c9 commit 0d2066c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/.logs
/bin
/lib
/libraries
/mix
/mods

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.gradle.internal.os.OperatingSystem

def os = OperatingSystem.current()
def targetPlatform = findProperty('targetPlatform') ?:
os == OperatingSystem.MAC_OS ? System.getProperty('os.arch').startsWith('aarch64') ? 'macos-arm64' : 'macos' : 'windows'
os == OperatingSystem.MAC_OS && System.getProperty('os.arch').startsWith('aarch64') ? 'macos-arm64' : 'windows'

// Global configuration
allprojects {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 1 addition & 2 deletions redhorizon-engine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ dependencies {
implementation 'org.lwjgl:lwjgl-opengl'

runtimeOnly files("../libraries/imgui-java-natives-with-tablesortspecs-macos-arm64-${imguiVersion}.jar")
// TODO: Windows build
// runtimeOnly "io.github.spair:imgui-java-natives-windows:${imguiVersion}"
runtimeOnly files("../libraries/imgui-java-natives-with-tablesortspecs-windows-${imguiVersion}.jar")
['natives-macos-arm64', 'natives-windows'].each { natives ->
runtimeOnly "org.lwjgl:lwjgl::${natives}"
runtimeOnly "org.lwjgl:lwjgl-glfw::${natives}"
Expand Down

0 comments on commit 0d2066c

Please sign in to comment.