fix(landing): correct GitHub repo URL from nicekid1 to CSZHK

All repo links were pointing to nicekid1/CleanMyPc which 404s.
The actual repo is CSZHK/CleanMyPc. Fixed in Hero, Footer,
OpenSource, release.ts, release-fallback.json, and fetch-release.ts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
zhukang
2026-03-15 10:47:38 +08:00
parent c2e2e924f6
commit 92da918281
6 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ import { fileURLToPath } from 'node:url';
const __dirname = dirname(fileURLToPath(import.meta.url));
const OWNER = 'nicekid1';
const OWNER = 'CSZHK';
const REPO = 'CleanMyPc';
const OUTPUT = join(__dirname, '..', 'src', 'data', 'release-manifest.json');

View File

@@ -12,7 +12,7 @@ const copy = t(locale);
const manifest = getRelease();
const downloadUrl = getDownloadUrl(manifest);
const REPO_URL = 'https://github.com/nicekid1/CleanMyPc';
const REPO_URL = 'https://github.com/CSZHK/CleanMyPc';
---
<footer class="footer band--dark">

View File

@@ -19,7 +19,7 @@ const badgeLabels = {
none: copy.hero.badgeComingSoon,
};
const REPO_URL = 'https://github.com/nicekid1/CleanMyPc';
const REPO_URL = 'https://github.com/CSZHK/CleanMyPc';
// Per state machine: stable/prerelease → download CTA + GitHub secondary
// none → GitHub as primary, no secondary download

View File

@@ -8,7 +8,7 @@ interface Props {
const { locale } = Astro.props;
const copy = t(locale);
const REPO_URL = 'https://github.com/nicekid1/CleanMyPc';
const REPO_URL = 'https://github.com/CSZHK/CleanMyPc';
---
<section class="oss section band--dark fade-in" id="opensource">

View File

@@ -2,7 +2,7 @@
"channel": "prerelease",
"version": "1.0.2",
"publishedAt": null,
"releaseUrl": "https://github.com/nicekid1/CleanMyPc/releases",
"releaseUrl": "https://github.com/CSZHK/CleanMyPc/releases",
"assets": {
"dmg": null,
"zip": null,

View File

@@ -51,7 +51,7 @@ export function getDownloadUrl(manifest: ReleaseManifest): string {
manifest.assets.zip ??
manifest.assets.pkg ??
manifest.releaseUrl ??
'https://github.com/nicekid1/CleanMyPc/releases'
'https://github.com/CSZHK/CleanMyPc/releases'
);
}