mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-28 23:54:59 +00:00
build: update linux resources
This commit is contained in:
parent
fdf90f61a8
commit
7e4b67b177
3 changed files with 13 additions and 2 deletions
|
@ -2,5 +2,7 @@
|
|||
|
||||
rm -rf SourceGit
|
||||
dotnet publish ../src/SourceGit.csproj -c Release -r linux-x64 -o SourceGit -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
|
||||
tar -zcvf SourceGit.linux-x64.tar.gz SourceGit --exclude=en --exclude=zh --exclude="*.dbg"
|
||||
cp resources/SourceGit.desktop.template SourceGit/SourceGit.desktop.template
|
||||
cp resources/App.icns SourceGit/SourceGit.icns
|
||||
tar -zcvf SourceGit.linux-x64.tar.gz --exclude="*/en" --exclude="*/zh" --exclude="*/*.dbg" SourceGit
|
||||
rm -rf SourceGit
|
||||
|
|
7
build/resources/SourceGit.desktop.template
Normal file
7
build/resources/SourceGit.desktop.template
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=SourceGit
|
||||
Comment=Free & OpenSource Git Client
|
||||
Exec=SOURCEGIT_LOCAL_FOLDER/SourceGit
|
||||
Icon=SOURCEGIT_LOCAL_FOLDER/SourceGit.icns
|
||||
Type=Application
|
||||
Terminal=false
|
Loading…
Add table
Add a link
Reference in a new issue