This commit is contained in:
Anuken
2019-08-22 16:19:29 -04:00
parent 4b8d072854
commit 3da6634242

View File

@@ -51,13 +51,11 @@ task steamtest(dependsOn: dist){
copy{ copy{
from "build/libs/Mindustry.jar" from "build/libs/Mindustry.jar"
if(System.properties["os.name"].contains("Mac")){ if(System.properties["os.name"].contains("Mac")){
into "/home/anuke/.steam/steam/steamapps/common/Mindustry" into "/Users/anuke/Library/Application Support/Steam/steamapps/common/Mindustry/Contents/Resources"
}else{ }else{
into "/home/anuke/.steam/steam/steamapps/common/Mindustry" into "/home/anuke/.steam/steam/steamapps/common/Mindustry"
} }
rename { String fileName -> rename("Mindustry.jar", "desktop.jar")
fileName.replace("Mindustry-linux-release", "desktop-release")
}
} }
} }
} }