steamtest task destination
This commit is contained in:
@@ -71,7 +71,9 @@ task steamtest(dependsOn: dist){
|
|||||||
doLast{
|
doLast{
|
||||||
copy{
|
copy{
|
||||||
from "build/libs/Mindustry.jar"
|
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"
|
into "/Users/anuke/Library/Application Support/Steam/steamapps/common/Mindustry/Mindustry.app/Contents/Resources"
|
||||||
}else{
|
}else{
|
||||||
into "/home/anuke/.steam/steam/steamapps/common/Mindustry/jre"
|
into "/home/anuke/.steam/steam/steamapps/common/Mindustry/jre"
|
||||||
|
|||||||
Reference in New Issue
Block a user