mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 20:48:33 +07:00
testing
This commit is contained in:
parent
32abd991e7
commit
4b8d072854
@ -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()}"
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ public class DesktopPlatform extends Platform{
|
||||
Label[] label = {null};
|
||||
Core.scene.table(t -> {
|
||||
t.top().left();
|
||||
t.update(() -> t.toFront());
|
||||
t.update(t::toFront);
|
||||
t.table("guideDim", f -> {
|
||||
label[0] = f.add("").get();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user