@@ -837,26 +837,54 @@ extensions.configure<ButlerExtension>("butler") {
837837
838838val 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
844851val 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
850864val 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
856877val 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
862890tasks.register(" butlerPushAll" ) {
0 commit comments