-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fix program freezing for a while, when exiting, before completely s…
…hutting down. - add publish script.
- Loading branch information
1 parent
f7e3121
commit 2dfa2bf
Showing
3 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cls | ||
|
||
echo Deleting previous publish | ||
|
||
rd /s /q "./bin/Publish/Release/" | ||
|
||
echo Publising 'x64 Release' | ||
dotnet publish Broadifyer.csproj /p:PublishProfile="x64 Release" | ||
echo Publising 'x86 Release' | ||
dotnet publish Broadifyer.csproj /p:PublishProfile="x86 Release" | ||
|
||
cd "./bin/Publish/Release" | ||
|
||
echo Compressing 'x64 Release' | ||
tar -acf Broadifyer-x64.zip x64 | ||
echo Compressing 'x86 Release' | ||
tar -acf Broadifyer-x86.zip x86 | ||
|
||
echo Done! | ||
|
||
cd ../../../ | ||
|