-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
build-win64.cmd
11 lines (11 loc) · 898 Bytes
/
build-win64.cmd
1
2
3
4
5
6
7
8
9
10
11
mkdir publish-win64
copy Ambermoon.net\versions.dat publish-win64\versions.dat
copy Ambermoon.net\diffs.dat publish-win64\diffs.dat
dotnet publish -c Debug ./Ambermoon.ConcatFiles/Ambermoon.ConcatFiles.csproj -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --nologo --self-contained -o ./publish-win64
dotnet publish -c Debug ./Ambermoon.net/Ambermoon.net.csproj -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --nologo --self-contained -o ./publish-win64
dotnet publish -c Debug ./AmbermoonPatcher/AmbermoonPatcher.csproj -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -r win-x64 --nologo --self-contained -o ./publish-win64
cd publish-win64
Ambermoon.ConcatFiles.exe versions versions.dat diffs diffs.dat patcher AmbermoonPatcher.exe Ambermoon.net.exe
rm ./versions.dat
rm ./diffs.dat
rm ./Ambermoon.ConcatFiles.exe