chore(config): point the updater at the now-public AeroFetch repo
The source repo is public now, so the separate releases-only repo (AeroFetch-releases) is no longer needed to keep the updater tokenless. Retarget UPDATE_REPO from AeroFetch-releases back to AeroFetch and refresh the config doc comment. The dedicated read-only baked-token service account (aerofetch-updater) has been deleted and its token revoked, so nothing reads a token any more; the .gitignore comment for the retired .update-token file is updated to match. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -10,8 +10,8 @@ dist
|
|||||||
|
|
||||||
# Secrets — never commit
|
# Secrets — never commit
|
||||||
.gitea-token
|
.gitea-token
|
||||||
# Retired: no longer read by the build (baked update token removed), but the
|
# Retired: the baked update token was removed from the build and its service
|
||||||
# local file still holds a live token until it's revoked — keep it ignored.
|
# account revoked; kept ignored so a stray local .update-token can never be committed.
|
||||||
.update-token
|
.update-token
|
||||||
|
|
||||||
# VS Code user settings (workspace settings/.vscode/launch.json are committed)
|
# VS Code user settings (workspace settings/.vscode/launch.json are committed)
|
||||||
|
|||||||
+7
-6
@@ -4,15 +4,16 @@
|
|||||||
* timeouts, caps, tickers) and from user settings (settings.ts). Retarget a
|
* timeouts, caps, tickers) and from user settings (settings.ts). Retarget a
|
||||||
* fork's update source by editing these three values.
|
* fork's update source by editing these three values.
|
||||||
*
|
*
|
||||||
* The update source is a PUBLIC, releases-only repo — it holds no source, just
|
* The update source is the main AeroFetch repo itself, made PUBLIC — so anonymous
|
||||||
* the published installers — so anonymous reads work and the updater sends no
|
* reads work and the updater sends no auth at all; there is no secret in the bundle
|
||||||
* auth at all. Keeping releases separate from the (private) source repo is what
|
* to leak. (A prior design split releases into a separate releases-only repo so the
|
||||||
* lets the client stay tokenless: there is no secret in the bundle to leak. A
|
* source could stay private; that's retired now that the source repo is public
|
||||||
* private fork retargets its updater by editing these constants and rebuilding.
|
* itself — one fewer moving part.) A private fork retargets its updater by editing
|
||||||
|
* these constants and rebuilding.
|
||||||
*/
|
*/
|
||||||
export const UPDATE_HOST = 'https://gitea.netbird.zimspace.uk:5938'
|
export const UPDATE_HOST = 'https://gitea.netbird.zimspace.uk:5938'
|
||||||
export const UPDATE_OWNER = 'debont80'
|
export const UPDATE_OWNER = 'debont80'
|
||||||
export const UPDATE_REPO = 'AeroFetch-releases'
|
export const UPDATE_REPO = 'AeroFetch'
|
||||||
export const RELEASE_API = `${UPDATE_HOST}/api/v1/repos/${UPDATE_OWNER}/${UPDATE_REPO}/releases/latest`
|
export const RELEASE_API = `${UPDATE_HOST}/api/v1/repos/${UPDATE_OWNER}/${UPDATE_REPO}/releases/latest`
|
||||||
|
|
||||||
// --- ffmpeg dependency source ------------------------------------------------
|
// --- ffmpeg dependency source ------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user