Point install URLs to raw zips in plugin repos (HSPosition done; HSCompare needs zip)
Made-with: Cursor
This commit is contained in:
@@ -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.).
|
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:
|
Download links point to **raw files** in each plugin repo (no Gitea Releases needed):
|
||||||
- **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`**.
|
- **HSPosition:** `HSPosition` repo → path `releases/HSPosition-0.0.0.1/latest.zip` (zip committed in repo).
|
||||||
2. **Download URL = release tag.** The path is `/releases/download/<TAG>/latest.zip`. The `<TAG>` must match the release tag in Gitea exactly (e.g. `HSPosition-0.0.0.1`).
|
- **HSCompare:** `HSCompare` repo → path `releases/HSCompare-0.0.0.1/latest.zip`. Add that folder and zip in the HSCompare repo, then push.
|
||||||
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.
|
To release a new version: build the plugin in Release, copy `latest.zip` into `releases/<PluginName>-<version>/`, commit and push; then bump version and `LastUpdate` in this pluginmaster.
|
||||||
|
|
||||||
## What users add in Dalamud
|
## What users add in Dalamud
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -15,8 +15,8 @@
|
|||||||
"DalamudApiLevel": 14,
|
"DalamudApiLevel": 14,
|
||||||
"DownloadCount": 0,
|
"DownloadCount": 0,
|
||||||
"LastUpdate": 1730000000,
|
"LastUpdate": 1730000000,
|
||||||
"DownloadLinkInstall": "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/releases/download/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
|
"DownloadLinkTesting": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
"DalamudApiLevel": 14,
|
"DalamudApiLevel": 14,
|
||||||
"DownloadCount": 0,
|
"DownloadCount": 0,
|
||||||
"LastUpdate": 1730000000,
|
"LastUpdate": 1730000000,
|
||||||
"DownloadLinkInstall": "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/releases/download/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
|
"DownloadLinkTesting": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user