![]() |
||
---|---|---|
.idea | ||
Installer | ||
InstallerCLI | ||
UpTool build tool | ||
UpTool2 | ||
UpToolCLI | ||
UpToolEto | ||
UpToolLib | ||
.gitignore | ||
.gitlab-ci.yml | ||
CLI.md | ||
LICENSE | ||
README.md | ||
UpTool2.ico | ||
UpTool2.sln | ||
UpTool2.sln.DotSettings | ||
UpTool2.xcf | ||
renovate.json |
README.md
UpTool2
Downloading software from online repos since 2019
How to automate UpTool2 deployments
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 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)Platform
The platform this works on (optional, defaults to current)
Package layout
Install.bat
The script for installing the appRemove.bat
The script for removing the appData
The folder containing binaries__APPFILES
The binaries