From 35e52b0ec36cc870d2f5b24fa96181d6198d43fd Mon Sep 17 00:00:00 2001 From: DevBehindYou Date: Sun, 27 Sep 2026 23:04:22 +0530 Subject: [PATCH] Download and project links point at Atomic-Notes-App-V0.2 The App is built and released from DevBehindYou/Atomic-Notes-App-V0.2 (first GitHub Release: v2.03.4). The download button pointed at Atomic-Notes-App/releases/latest, a repository with no releases (404), and "View the project" at Project-Atomic-Notes, a name several renames old. - Default APK_URL: Atomic-Notes-App-V0.2/releases/latest. The Vercel variable NEXT_PUBLIC_APK_URL overrides it and must be changed to match (or removed). - "View the project" opens the V0.2 repository; the download hint names the arm64-v8a file without the old file name; the 1.18.2 blog post links the new releases page. Co-Authored-By: Claude Opus 5.5 --- content/blog/atomic-notes-v1-18-2.md | 2 +- src/app/page.tsx | 4 ++-- src/lib/site.ts | 3 ++- tests/runtime.test.mjs | 6 +++++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/content/blog/atomic-notes-v1-18-2.md b/content/blog/atomic-notes-v1-18-2.md index 1f5f13f..18a06b6 100644 --- a/content/blog/atomic-notes-v1-18-2.md +++ b/content/blog/atomic-notes-v1-18-2.md @@ -49,7 +49,7 @@ This is a demo build, so some parts are intentionally not live. Sideload the signed APK from GitHub Releases. On most phones, use the arm64 build. -Download the latest build from [GitHub Releases](https://github.com/DevBehindYou/Atomic-Notes-App/releases). For how the economy works, read the [Atomic Energy guide](/blog). +Download the latest build from [GitHub Releases](https://github.com/DevBehindYou/Atomic-Notes-App-V0.2/releases). For how the economy works, read the [Atomic Energy guide](/blog). ## What is next diff --git a/src/app/page.tsx b/src/app/page.tsx index 832d683..6673bc2 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -236,14 +236,14 @@ export default async function Home() {

Download the latest signed APK from GitHub Releases. On most - phones, use app-arm64-v8a-release.apk. + phones, use the file ending in arm64-v8a.apk.

Download the APK { const home = await (await request('/')).text(); - assert.match(home, /href="https:\/\/github\.com\/DevBehindYou\/Atomic-Notes-App\/releases\/latest"/); + // Unless NEXT_PUBLIC_APK_URL was set when the site was built, the button uses the default. + const apkLink = /href="(https:\/\/github\.com\/DevBehindYou\/[^"]+\/releases\/latest)"/.exec(home); + assert.ok(apkLink, 'a GitHub releases/latest download link'); assert.equal(home.includes('ci-latest'), false); + assert.equal(home.includes('Project-Atomic-Notes'), false, 'the old repository name is gone'); + assert.match(home, /href="https:\/\/github\.com\/DevBehindYou\/Atomic-Notes-App-V0\.2"/); }); });