Simple tool for updating software
This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
CreepyCrafter24 f78d68211c Fix download-dialog and hide cmd on removal 2020-03-20 13:03:44 +01:00
.github/workflows move less important steps to end 2020-03-16 16:23:57 +01:00
.idea NET Core and some improvements (Build scripts will need to be updated) 2020-03-13 20:16:45 +01:00
Installer Fancier splash 2020-03-20 12:35:46 +01:00
UpTool build tool fix extension 2020-03-16 20:16:39 +01:00
UpTool2 Fix download-dialog and hide cmd on removal 2020-03-20 13:03:44 +01:00
.gitignore Add package build tools 2020-03-08 09:05:19 +01:00
README.md Add tutorial for auto-deployment to README 2020-03-11 20:40:02 +01:00
UpTool2.sln Add simple installer 2020-03-16 15:53:32 +01:00
UpTool2.sln.DotSettings Add package build tools 2020-03-08 09:05:19 +01:00

README.md

UpTool2

Downloading software from online repos since 2019

CodeFactor GitHub release (latest by date) GitHub repo size GitHub All Releases Discord

Default Repo

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 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
    • Install The folder containing the actual tool
      • __ZIP CONTENTS The app files
      • tmp A temporary folder used during updates
        • __FILES FOR UPDATE The downloaded update files

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 application
    • Description Description that gets displayed on the right panel
    • Version Version for update checking, might get removed
    • ID The Guid used for identification
    • File A link to the package file
    • Hash The files SHA256 Hash
    • Icon The apps icon, (optional)
    • MainFile Main binary, used for starting, (optional)

Package layout

  • Install.bat The script for installing the app
  • Remove.bat The script for removing the app
  • Data The folder containing binaries
    • __APPFILES The binaries