From 91cc4f922e53c6b42641ec4f04a1fc5f04cd6280 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 5 Dec 2023 13:57:41 -0500 Subject: [PATCH] steamtest task destination --- desktop/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/build.gradle b/desktop/build.gradle index f5a9fca57f..7f4ecdcf0a 100644 --- a/desktop/build.gradle +++ b/desktop/build.gradle @@ -71,7 +71,9 @@ task steamtest(dependsOn: dist){ doLast{ copy{ from "build/libs/Mindustry.jar" - if(System.properties["os.name"].contains("Mac")){ + if(project.hasProperty("destination")){ + into project.property("destination") + }else if(System.properties["os.name"].contains("Mac")){ into "/Users/anuke/Library/Application Support/Steam/steamapps/common/Mindustry/Mindustry.app/Contents/Resources" }else{ into "/home/anuke/.steam/steam/steamapps/common/Mindustry/jre"