Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use zlib compression for now #178

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Builders/LinuxBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
Loading