This commit is contained in:
Anuken
2019-08-22 16:13:39 -04:00
parent 32abd991e7
commit 4b8d072854
2 changed files with 8 additions and 4 deletions
+7 -3
View File
@@ -49,8 +49,12 @@ task dist(type: Jar, dependsOn: classes){
task steamtest(dependsOn: dist){
doLast{
copy{
from "build/libs/Mindustry-linux-release.jar"
into "/home/anuke/.steam/steam/steamapps/common/Mindustry"
from "build/libs/Mindustry.jar"
if(System.properties["os.name"].contains("Mac")){
into "/home/anuke/.steam/steam/steamapps/common/Mindustry"
}else{
into "/home/anuke/.steam/steam/steamapps/common/Mindustry"
}
rename { String fileName ->
fileName.replace("Mindustry-linux-release", "desktop-release")
}
@@ -152,6 +156,6 @@ PackrConfig.Platform.values().each{ platform ->
}
finalizedBy "zip${platform.toString()}"
}
}