testing
This commit is contained in:
@@ -49,8 +49,12 @@ task dist(type: Jar, dependsOn: classes){
|
|||||||
task steamtest(dependsOn: dist){
|
task steamtest(dependsOn: dist){
|
||||||
doLast{
|
doLast{
|
||||||
copy{
|
copy{
|
||||||
from "build/libs/Mindustry-linux-release.jar"
|
from "build/libs/Mindustry.jar"
|
||||||
into "/home/anuke/.steam/steam/steamapps/common/Mindustry"
|
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 ->
|
rename { String fileName ->
|
||||||
fileName.replace("Mindustry-linux-release", "desktop-release")
|
fileName.replace("Mindustry-linux-release", "desktop-release")
|
||||||
}
|
}
|
||||||
@@ -152,6 +156,6 @@ PackrConfig.Platform.values().each{ platform ->
|
|||||||
}
|
}
|
||||||
|
|
||||||
finalizedBy "zip${platform.toString()}"
|
finalizedBy "zip${platform.toString()}"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public class DesktopPlatform extends Platform{
|
|||||||
Label[] label = {null};
|
Label[] label = {null};
|
||||||
Core.scene.table(t -> {
|
Core.scene.table(t -> {
|
||||||
t.top().left();
|
t.top().left();
|
||||||
t.update(() -> t.toFront());
|
t.update(t::toFront);
|
||||||
t.table("guideDim", f -> {
|
t.table("guideDim", f -> {
|
||||||
label[0] = f.add("").get();
|
label[0] = f.add("").get();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user