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.
UpTool2/README.md
2020-03-11 20:40:02 +01:00

3.3 KiB

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