Skip to content
This repository was archived by the owner on Jan 24, 2026. It is now read-only.

Commit 3c4ad59

Browse files
committed
Update Butler system (test)
1 parent 058f42c commit 3c4ad59

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

build.gradle.kts

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -837,26 +837,54 @@ extensions.configure<ButlerExtension>("butler") {
837837

838838
val butlerPushWindows = tasks.register<PushTask>("butlerPushWindows") {
839839
dependsOn(tasks.build, ":launcher:packageWinX64")
840-
binDirectory = file("$projectDir/launcher/build/construo/winX64/roast")
840+
binDirectory = file("$projectDir/launcher/build/butler/windows")
841841
channel = "windows"
842+
843+
doFirst {
844+
copy {
845+
from("$projectDir/launcher/build/construo/winX64/roast")
846+
into("$projectDir/build/butler/windows")
847+
}
848+
}
842849
}
843850

844851
val butlerPushLinux = tasks.register<PushTask>("butlerPushLinux") {
845852
dependsOn(tasks.build, ":launcher:packageLinuxX64")
846-
binDirectory = file("$projectDir/launcher/build/construo/linuxX64/roast")
853+
binDirectory = file("$projectDir/launcher/build/butler/linux")
847854
channel = "linux"
855+
856+
doFirst {
857+
copy {
858+
from("$projectDir/launcher/build/construo/linuxX64/roast")
859+
into("$projectDir/build/butler/linux")
860+
}
861+
}
848862
}
849863

850864
val butlerPushMacX64 = tasks.register<PushTask>("butlerPushMacX64") {
851865
dependsOn(tasks.build, ":launcher:packageMacX64")
852-
binDirectory = file("$projectDir/launcher/build/construo/macX64/roast")
866+
binDirectory = file("$projectDir/launcher/build/butler/mac")
853867
channel = "mac"
868+
869+
doFirst {
870+
copy {
871+
from("$projectDir/launcher/build/construo/macX64/Quantum Voxel.app")
872+
into("$projectDir/build/butler/mac")
873+
}
874+
}
854875
}
855876

856877
val butlerPushMacM1 = tasks.register<PushTask>("butlerPushMacM1") {
857878
dependsOn(tasks.build, ":launcher:packageMacM1")
858-
binDirectory = file("$projectDir/launcher/build/construo/macM1/roast")
879+
binDirectory = file("$projectDir/launcher/build/butler/mac-m1")
859880
channel = "mac-m1"
881+
882+
doFirst {
883+
copy {
884+
from("$projectDir/launcher/build/construo/macM1/Quantum Voxel.app")
885+
into("$projectDir/build/butler/mac-m1")
886+
}
887+
}
860888
}
861889

862890
tasks.register("butlerPushAll") {

0 commit comments

Comments
 (0)