From afc08d72aa308c4ce5c7685941f45fc9b361a18c Mon Sep 17 00:00:00 2001 From: Alex <15199219+muskit@users.noreply.github.com> Date: Tue, 2 Sep 2025 15:00:32 -0700 Subject: [PATCH] shrink build package (--self-contain false) --- README.md | 4 ++-- build-and-package.sh | 4 ++-- src/MercuryConverter.csproj | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3b2f5cc..3184806 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ image - - This is a rewrite of [WacK-Repackager](https://github.com/muskit/WacK-Repackager) to work with the upcoming Saturn project. +**Requires [.NET 9.0+](https://dotnet.microsoft.com/en-us/download) to be installed.** + Head over to [HOWTO](HOWTO.md) for required data preparation. diff --git a/build-and-package.sh b/build-and-package.sh index 92f75ff..27431a5 100755 --- a/build-and-package.sh +++ b/build-and-package.sh @@ -5,8 +5,8 @@ cd $(dirname $0) app_version=MercuryConverter-v$(cat src/Assets/version) # create builds -dotnet publish src --runtime linux-x64 -c Release -p:PublishSingleFile=True -o "./builds/$app_version-linux-x64" -dotnet publish src --runtime win-x64 -c Release -p:PublishSingleFile=True -o "./builds/$app_version-win-x64" +dotnet publish src --runtime linux-x64 -c Release -p:PublishSingleFile=True --self-contained false -o "./builds/$app_version-linux-x64" +dotnet publish src --runtime win-x64 -c Release -p:PublishSingleFile=True --self-contained false -o "./builds/$app_version-win-x64" # package builds cd builds diff --git a/src/MercuryConverter.csproj b/src/MercuryConverter.csproj index 1de24e8..17f0369 100644 --- a/src/MercuryConverter.csproj +++ b/src/MercuryConverter.csproj @@ -24,7 +24,6 @@ -