From 947b43cfa1d2dcf0f777795da0119dbe0ac553c9 Mon Sep 17 00:00:00 2001 From: Thad House Date: Fri, 3 Jan 2025 21:45:21 -0800 Subject: [PATCH] Remove compression from single file executable --- build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 38f680c..83da500 100644 --- a/build.gradle +++ b/build.gradle @@ -250,11 +250,10 @@ def dotnetInstallerTask = tasks.register('createInstaller', Exec) { if (project.hasProperty("macBuild") || project.hasProperty("macBuildArm")) { commandLine 'dotnet', 'publish', '-c', 'Release', '-r', dotnetRuntime, '--self-contained', "/p:Version=$pubVersion", "/t:BundleApp", "-p:RuntimeIdentifier=${macRuntimeId}", - "-p:CFBundleShortVersionString=$pubVersion", "-p:CFBundleVersion=$pubVersion", - '/p:EnableCompressionInSingleFile=true' + "-p:CFBundleShortVersionString=$pubVersion", "-p:CFBundleVersion=$pubVersion" } else { commandLine 'dotnet', 'publish', '-c', 'Release', '-r', dotnetRuntime, '/p:PublishSingleFile=true', - "/p:Version=$pubVersion", '/p:EnableCompressionInSingleFile=true', '--self-contained' + "/p:Version=$pubVersion", '--self-contained' } }