feat: install and update through the Geek2API mirror (0.1.2)

Every entry point serves /dsh/latest.json and the release tarballs, synced
from GitHub; the version check asks the mirror first through the endpoint
pool and installs the mirrored tarball, with GitHub as the fallback.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
大阔andClaude Opus 5.5 committed 2026-10-15 01:50:33 +08:00
1 parent f4f4ce55b3
commit 1379421095
9 files changed
+171 -18

No files matched your search

+2 -2
View File
@@ -27,7 +27,7 @@ Installing it adds a `Geek2API` group to the model picker. No YAML and no provid
## Install
1. In the desktop app, open **Plugins → Add plugin**, enter `https://github.com/CoderKuo/dsh-geek2api/releases/latest/download/dsh-geek2api.tgz`, and install. No restart is needed for a first install. You can also download the `.tgz` from [Releases](https://github.com/CoderKuo/dsh-geek2api/releases) and install it from a local path.
1. In the desktop app, open **Plugins → Add plugin**, enter `https://hk.geek2api.com/dsh/dsh-geek2api.tgz` (Geek2API's mirror of the GitHub release, reachable from mainland networks; synced every 10 minutes) or `https://github.com/CoderKuo/dsh-geek2api/releases/latest/download/dsh-geek2api.tgz`, and install. No restart is needed for a first install. You can also download the `.tgz` from [Releases](https://github.com/CoderKuo/dsh-geek2api/releases) and install it from a local path.
2. Open **Settings → Geek2API** and paste an API key (create one under API Keys in the Geek2API console). Add more keys for other groups; the plugin picks the right one per model.
3. Pick a model under the `Geek2API` group.
@@ -56,7 +56,7 @@ Whether a key can use a model depends on its group; trust the ✓ / ✕ in setti
## Update and uninstall
The version card in **Settings → Geek2API** checks the latest GitHub release; update from there, then fully quit and reopen the desktop app. Before uninstalling, set web search back to "leave DSH alone" if you used it, then uninstall from the Plugins page and restart.
The version card in **Settings → Geek2API** checks the Geek2API mirror first and GitHub when no mirror answers; update from there, then fully quit and reopen the desktop app. Before uninstalling, set web search back to "leave DSH alone" if you used it, then uninstall from the Plugins page and restart.
## Security