mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2024-12-04 21:42:47 +01:00
16 lines
536 B
Batchfile
16 lines
536 B
Batchfile
@echo off
|
|
set list=win-x64 linux-x64 osx-x64
|
|
|
|
rmdir /S /Q bin
|
|
|
|
(for %%a in (%list%) do (
|
|
dotnet publish Desktop -c Release -r %%a -o ./bin/%%a --self-contained true
|
|
powershell "Compress-Archive -Path ./bin/%%a/* -DestinationPath ./bin/%%a.zip -CompressionLevel Optimal"
|
|
))
|
|
|
|
dotnet publish Desktop -c Release -o ./bin/portable -p:PublishSingleFile=false -p:PublishTrimmed=false --self-contained false
|
|
powershell "Compress-Archive -Path ./bin/portable/* -DestinationPath ./bin/portable.zip -CompressionLevel Optimal"
|
|
|
|
echo Done
|
|
pause
|