diff --git a/README.md b/README.md index 091b3d8..151f64d 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,14 @@ This repo is the **single custom repository** for Dalamud. It contains only the master list (`pluginmaster.json`). Each plugin’s source and releases stay in their own repos (HSPosition, HSCompare, etc.). -## If installs fail +## How installs work -1. **Releases must exist.** Each plugin needs a release on its repo with the zip attached: - - **HSPosition:** repo `HSPosition` → Release tag **`HSPosition-0.0.0.1`** (or the tag in the JSON) → attach **`latest.zip`**. - - **HSCompare:** repo `HSCompare` → Release tag **`HSCompare-0.0.0.1`** → attach **`latest.zip`**. -2. **Download URL = release tag.** The path is `/releases/download//latest.zip`. The `` must match the release tag in Gitea exactly (e.g. `HSPosition-0.0.0.1`). -3. **HTTP.** All URLs in `pluginmaster.json` use `http://` for this Gitea (port 33983). If you switch to HTTPS later, change them to `https://`. -4. **No auth.** The raw pluginmaster URL and the release zip URLs must be reachable without login. +Download links point to **raw files** in each plugin repo (no Gitea Releases needed): + +- **HSPosition:** `HSPosition` repo → path `releases/HSPosition-0.0.0.1/latest.zip` (zip committed in repo). +- **HSCompare:** `HSCompare` repo → path `releases/HSCompare-0.0.0.1/latest.zip`. Add that folder and zip in the HSCompare repo, then push. + +To release a new version: build the plugin in Release, copy `latest.zip` into `releases/-/`, commit and push; then bump version and `LastUpdate` in this pluginmaster. ## What users add in Dalamud diff --git a/pluginmaster.json b/pluginmaster.json index ad7578f..098e668 100644 --- a/pluginmaster.json +++ b/pluginmaster.json @@ -15,8 +15,8 @@ "DalamudApiLevel": 14, "DownloadCount": 0, "LastUpdate": 1730000000, - "DownloadLinkInstall": "http://brassnet.ddns.net:33983/Dawnsorrow/HSPosition/releases/download/HSPosition-0.0.0.1/latest.zip", - "DownloadLinkUpdate": "http://brassnet.ddns.net:33983/Dawnsorrow/HSPosition/releases/download/HSPosition-0.0.0.1/latest.zip", + "DownloadLinkInstall": "http://brassnet.ddns.net:33983/Dawnsorrow/HSPosition/raw/branch/main/releases/HSPosition-0.0.0.1/latest.zip", + "DownloadLinkUpdate": "http://brassnet.ddns.net:33983/Dawnsorrow/HSPosition/raw/branch/main/releases/HSPosition-0.0.0.1/latest.zip", "DownloadLinkTesting": null }, { @@ -35,8 +35,8 @@ "DalamudApiLevel": 14, "DownloadCount": 0, "LastUpdate": 1730000000, - "DownloadLinkInstall": "http://brassnet.ddns.net:33983/Dawnsorrow/HSCompare/releases/download/HSCompare-0.0.0.1/latest.zip", - "DownloadLinkUpdate": "http://brassnet.ddns.net:33983/Dawnsorrow/HSCompare/releases/download/HSCompare-0.0.0.1/latest.zip", + "DownloadLinkInstall": "http://brassnet.ddns.net:33983/Dawnsorrow/HSCompare/raw/branch/main/releases/HSCompare-0.0.0.1/latest.zip", + "DownloadLinkUpdate": "http://brassnet.ddns.net:33983/Dawnsorrow/HSCompare/raw/branch/main/releases/HSCompare-0.0.0.1/latest.zip", "DownloadLinkTesting": null } ]