From d1a1fead19b75bd6d5893d9124a7562a17ca9074 Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Thu, 10 Oct 2024 01:36:36 +0900 Subject: [PATCH] Use zlib compression for now --- Builders/LinuxBuilder.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Builders/LinuxBuilder.cs b/Builders/LinuxBuilder.cs index 83c9515..781200d 100644 --- a/Builders/LinuxBuilder.cs +++ b/Builders/LinuxBuilder.cs @@ -25,7 +25,14 @@ public LinuxBuilder(string version) protected override string TargetFramework => "net8.0"; protected override string RuntimeIdentifier => $"{os_name}-x64"; - public override Uploader CreateUploader() => new LinuxVelopackUploader(app_name, os_name, RuntimeIdentifier, RuntimeIdentifier, stagingPath: stagingTarget); + public override Uploader CreateUploader() + { + // Temporarily fix for zstd (current default) not being supported on some systems: https://github.com/ppy/osu/issues/30175 + // Todo: Remove with the next velopack release. + const string extra_args = " --compression gzip"; + + return new LinuxVelopackUploader(app_name, os_name, RuntimeIdentifier, RuntimeIdentifier, extraArgs: extra_args, stagingPath: stagingTarget); + } public override void Build() {