Simple tool for updating software
.github/workflows | ||
.idea | ||
UpTool2 | ||
UpTool build tool | ||
.gitignore | ||
README.md | ||
UpTool2.sln | ||
UpTool2.sln.DotSettings |
UpTool2
Downloading software from online repos since 2019
How to automate UpTool2 deployments
Add this:
<Deterministic>false</Deterministic>
to your csproj
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
Change your AssemblyVersion in AssemblyInfo.cs:
[assembly: AssemblyVersion("1.0.*")]
Add the build action and customize it
Folder layout
- %APPDATA%\UpTool2
- Apps
- __APPGUID
info.xml
Local copy of some app information, like this but missing ID, File, Hash and Iconpackage.zip
The package that was downloaded on installapp
The app install path__APPFILES
Copy of the app files from above, may contain user-configs
- __APPGUID
info.xml
File used by UpTool2 for saving infoVersion
The installed version. Not used anymoreRepos
The list of package repos__REPO
A repositoryName
The display name of the repositoryLink
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
Install
The folder containing the actual tool__ZIP CONTENTS
The app filestmp
A temporary folder used during updates__FILES FOR UPDATE
The downloaded update files
- Apps
Repo layout
repo
The main repo tag__APPLINK
Links to external app XMLs__REPOLINK
Links to external repos__APP
Apps
App layout
- app
Name
Name of the applicationDescription
Description that gets displayed on the right panelVersion
Version for update checking, might get removedID
The Guid used for identificationFile
A link to the package fileHash
The files SHA256 HashIcon
The apps icon, (optional)MainFile
Main binary, used for starting, (optional)
Package layout
Install.bat
The script for installing the appRemove.bat
The script for removing the appData
The folder containing binaries__APPFILES
The binaries