You will want the assembly version to automatically increment.
To achieve this you have to add this: <Deterministic>false</Deterministic>
to your csproj in the main PropertyGroup and change your AssemblyVersion to 1.0.* or something like this
Now you can add this if exist "$(SolutionDir)Data\pkgtool.exe" ($(SolutionDir)Data\pkgtool.exe build --noLogo --binDir .) else if exist "%appdata%\UpTool2\Apps\0e35d154-d0d3-45e0-b080-62f521263a44\app\pkgtool.exe" ("%appdata%\UpTool2\Apps\0e35d154-d0d3-45e0-b080-62f521263a44\app\pkgtool.exe" build --noLogo --binDir .) else echo Cound not find Package build tools, skipping
as a PostBuild event to automatically run pkgtool. Customize this if you need to.
For GitHub actions I wrote this.
If you copy it, make sure to replace the descriptions and ID under the Generate XML step
You can also add something like this to your Readme:
(Look at the source for the MD Code)
Folder layout
%APPDATA%\UpTool2
Apps
__APPGUID
info.xml Local copy of some app information, like this but missing ID, File, Hash, Platform and Icon
package.zip The package that was downloaded on install
app The app install path
__APPFILES Copy of the app files from above, may contain user-configs
info.xml File used by UpTool2 for saving info
Version The installed version. Not used anymore
Repos The list of package repos
__REPO A repository
Name The display name of the repository
Link The source of the repo xml
Local Repo A preprocessed copy of the online repos
__APP A normal app with the icon processed as Base64