Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf authored Feb 8, 2024
1 parent 1fd3253 commit d049071
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Python Patcher Updates

## Description

This repo contains html which is displayed in the installer, so we can update the installer html without building a new installer release.

The html files are compiled into a single `updates.json` file which is used by the installer - the installer does not use the `.html` files directly.

## Notes

- `.html` is used instead of markdown so I can be lazy and embed colors or other stuff which markdown doesn't support
- I don't think you can reference vue variables etc. in the `html` here.

## How to update install status

**NOTE: Currently this 'load mod status from github' is only enabled for Hou Plus, as a test.**

- Find or create the `.html` file matching the chapter you want to edit (currently only supported for Hou Plus). The name must match the name in the `installData.json` file exactly (in the other `python-patcher` repo).
- You may need to cross reference where the html appears in the installer to edit it properly, (drojf: TODO, make it easier to find where html is appears in the installer)
- Edit the `.html` file and push to `main` branch
- A new release will be created automatically. The installer will download the the generated `updates.json` and display it in the installer.

0 comments on commit d049071

Please sign in to comment.