-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Bump MC version string + Rename terracotta to clay + Fix publish.bat file for generating releases + Add docs for building releases
- Loading branch information
Showing
7 changed files
with
44 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# How to build a release | ||
This guide covers the build and packaging process for deploying the desktop application. | ||
|
||
## Prerequisites: | ||
1. Visual Studio 2022 installed | ||
|
||
## Building | ||
1. Open up developer command prompt in VS via: Tools > Command Line > Developer Command prompt | ||
2. Type into console, `%cd%/PixelStacker/Properties/PublishProfiles/publish.bat` | ||
3. Your files will be zipped into `%cd%/PixelStacker/bin/publish` | ||
|
||
## Code signing | ||
If you want to add code signing to the process, that is totally doable. I used to have it working, but in order to continue doing so it requires me to pay money for a code signing certificate. To re-enable code signing, you must add the following lines to the bottom of the PixelStacker.csproj file. Then, make sure you have the code signing tool installed, and follow any other steps from certum or your code signing certificate provider of choice. | ||
``` | ||
<Target Name="SignTheExe" AfterTargets="Publish"> | ||
<Exec WorkingDirectory="$(PublishDir)" Command="call "$(VSAPPIDDIR)..\Tools\VsDevCmd.bat"
echo "Signing this exe file after publishing. $(MSBuildProjectDirectory)\$(PublishDir)PixelStacker.exe"
signtool.exe sign /fd sha256 /t http://timestamp.comodoca.com/authenticode /n "Open Source Developer, Taylor Love" "$(MSBuildProjectDirectory)\$(PublishDir)PixelStacker.exe"" /> | ||
</Target> | ||
``` |
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
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