From e5049c04fc6c9f1a33cde71348697e3ac7888045 Mon Sep 17 00:00:00 2001 From: Gadfly Date: Tue, 30 Apr 2024 21:58:09 +0800 Subject: [PATCH] build: copy .icns file into Linux archive --- build/build.linux.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/build.linux.sh b/build/build.linux.sh index 080341bf..ed819910 100644 --- a/build/build.linux.sh +++ b/build/build.linux.sh @@ -8,10 +8,12 @@ rm -rf SourceGit *.tar.gz resources/deb/opt *.deb *.rpm # Compile dotnet publish ../src/SourceGit.csproj -c Release -r linux-x64 -o SourceGit -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained mv SourceGit/SourceGit SourceGit/sourcegit +cp resources/app/App.icns SourceGit/sourcegit.icns rm -f SourceGit/*.dbg # General Linux archive tar -zcvf sourcegit_${version}.linux-x64.tar.gz SourceGit +rm -f SourceGit/sourcegit.icns # Debain/Ubuntu package mkdir -p resources/deb/opt/sourcegit/