From abffa67f896eb15808b30ef8bac1d3d9c0a8163b Mon Sep 17 00:00:00 2001 From: Vikram Date: Tue, 1 Dec 2026 08:36:42 +0530 Subject: [PATCH] Website: 0.12.1 downloads without the GitHub API; Veyra for Mac is notarized MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The download page still offered 0.11.0 after 0.12.1 was published: it reads the GitHub API, which is rate-limited (60 requests an hour without a token) and sometimes blocked by the host, and a failed refresh kept the old page. latestRelease() now falls back to Veyra's signed update manifest (latest.json, a plain download): the version and the installers it lists, plus the two .dmg files, which follow the same naming. Checked against the real 0.12.1 manifest: all seven download buttons resolve (HTTP 200). Mac wording: the download page's "Apple notarization" row now says Notarized by Apple; the install docs drop "right-click → Open" and the xattr workaround (kept as a note for versions before 0.12.1); the FAQ answers "Does Veyra open on a Mac without warnings?". Co-Authored-By: Claude Opus 5.5 --- website/app/docs/page.tsx | 4 ++-- website/app/download/page.tsx | 2 +- website/lib/releases.ts | 18 ++++++++++++++++++ website/lib/site.ts | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/website/app/docs/page.tsx b/website/app/docs/page.tsx index b20b7a2..c75aa22 100644 --- a/website/app/docs/page.tsx +++ b/website/app/docs/page.tsx @@ -45,8 +45,8 @@ export default function Docs(){

Windows 10 and 11

The easiest way is the Microsoft Store: click Get and Veyra installs and opens, verified by Microsoft. You can also run the .exe installer from the download page (or the .msi for managed installs). The direct installer isn't signed with a Microsoft certificate yet, so SmartScreen may say "Windows protected your PC": choose More info → Run anyway.

macOS 11 or newer

-

Choose the .dmg for Apple silicon (M1 and later) or Intel, then drag Veyra Studio into Applications. The first time, right-click → Open, or allow it in System Settings → Privacy & Security → Open Anyway.

- If macOS says the app "is damaged and can't be opened", run this once in Terminal, then open it again: xattr -cr "/Applications/Veyra Studio.app" +

Choose the .dmg for Apple silicon (M1 and later) or Intel, then drag Veyra Studio into Applications and open it. Veyra is signed and notarized by Apple, so it opens without warnings.

+ Using a version older than 0.12.1? Update to the latest version: older Mac builds weren't notarized and needed right-click → Open the first time.

Linux

Use the .AppImage on any 64-bit distribution (chmod +x it, then run it), or install the .deb (Debian, Ubuntu) or .rpm (Fedora, openSUSE) package. Veyra needs WebKitGTK 4.1 and glibc 2.35 or newer.

diff --git a/website/app/download/page.tsx b/website/app/download/page.tsx index 87993dd..2b0f933 100644 --- a/website/app/download/page.tsx +++ b/website/app/download/page.tsx @@ -52,7 +52,7 @@ export default async function DownloadPage(){
Automatic updatesCryptographically signed

Every update is signed with Veyra's update key, and installed copies verify the signature before installing anything.

Microsoft StoreVerified by Microsoft

Install from the Microsoft Store for a one-click install with no SmartScreen warning.

Windows direct downloadNot signed yet

The .exe and .msi on this page aren't signed with a Microsoft code-signing certificate yet, so SmartScreen may warn on first run: choose More info → Run anyway.

-
Apple notarizationNot yet (preview)

The app isn't notarized by Apple yet. The first time, right-click Veyra Studio → Open (see the install guide).

+
Apple notarizationNotarized by Apple

The Mac app is signed with an Apple Developer ID and notarized by Apple, so it opens without warnings, like any app from a known developer.

Built in publicGitHub Actions

Every release is built from the open-source code by GitHub Actions. Compare the SHA-256 checksums below with your download.

{sums.length>0&&
SHA-256 checksums for v{release?.version} diff --git a/website/lib/releases.ts b/website/lib/releases.ts index 5d9c294..814eaa9 100644 --- a/website/lib/releases.ts +++ b/website/lib/releases.ts @@ -12,6 +12,24 @@ const releaseSignal = () => AbortSignal.timeout(Number(process.env.RELEASE_FETCH /** The latest release of Veyra, or of another repository such as fcopensource/salesforce-studio. */ export async function latestRelease(repo = REPO): Promise { + const fromApi = await releaseFromApi(repo); + // The GitHub API is rate-limited (60 requests an hour without a token) and the host sometimes blocks it; the + // download page then kept showing an old version. Veyra's signed update manifest is a plain download, so use it. + return fromApi || (repo === REPO ? releaseFromManifest(await updateManifest()) : null); +} + +/** Veyra's release from its update manifest (latest.json): the version and the installers it lists, plus the .dmg files, + * which Tauri names the same way. Sizes and checksums aren't in the manifest, so they're left out. */ +export function releaseFromManifest(manifest: Manifest | null): Release | null { + if (!manifest?.version) return null; + const urls = new Set(Object.values(manifest.platforms || {}).map(p => p.url).filter(url => url && !url.endsWith(".tar.gz"))); + const base = `https://github.com/${REPO}/releases/download/v${manifest.version}/`; + for (const arch of ["aarch64", "x64"]) urls.add(`${base}Veyra.Studio_${manifest.version}_${arch}.dmg`); + const assets = [...urls].map(url => ({ name: decodeURIComponent(url.split("/").pop() || ""), browser_download_url: url, size: 0, digest: null })); + return { version: manifest.version, publishedAt: manifest.pub_date || "", assets }; +} + +async function releaseFromApi(repo: string): Promise { try { const response = await fetch(`https://api.github.com/repos/${repo}/releases/latest`, { headers: { Accept: "application/vnd.github+json", ...(process.env.GITHUB_TOKEN ? { Authorization: `Bearer ${process.env.GITHUB_TOKEN}` } : {}) }, diff --git a/website/lib/site.ts b/website/lib/site.ts index 65aeebd..ab552bb 100644 --- a/website/lib/site.ts +++ b/website/lib/site.ts @@ -107,7 +107,7 @@ export const FAQ_GROUPS: { title: string; items: QA[] }[] = [ { title: "Install & updates", items: [ { q: "How do updates work?", a: "Veyra checks for new versions automatically. When one is ready, the Sign in button in the top-right corner turns into Update: click it, and Veyra installs the update and restarts. Updates are cryptographically signed and verified before installing, and Veyra asks before closing unsaved work. Help → Check for Updates checks right away." }, { q: "Windows says \"Windows protected your PC\". Is Veyra safe?", a: "Yes. Install Veyra from the Microsoft Store to avoid the warning entirely: the Store version is verified by Microsoft and installs in one click. The installer downloaded directly from this site isn't signed with a Microsoft certificate yet, so SmartScreen may warn on first run; choose More info → Run anyway. Every release is built publicly on GitHub Actions from the open-source code." }, - { q: "macOS says the app is damaged. What do I do?", a: "Run xattr -cr \"/Applications/Veyra Studio.app\" once in Terminal, then open Veyra again. On newer versions, right-click the app and choose Open the first time." }, + { q: "Does Veyra open on a Mac without warnings?", a: "Yes. Since version 0.12.1, Veyra for Mac is signed with an Apple Developer ID and notarized by Apple, for both Apple silicon and Intel, so it opens like any app from a known developer. Older versions weren't notarized: if you still have one, download the latest version." }, ]}, ]; export const FAQ: QA[] = FAQ_GROUPS[0].items;