diff --git a/docs/rust-port-plan.md b/docs/rust-port-plan.md index d9c96e9..6beaa8d 100644 --- a/docs/rust-port-plan.md +++ b/docs/rust-port-plan.md @@ -13,9 +13,7 @@ > - **Not verified:** macOS builds (need Apple's C toolchain), running on Windows or macOS, the OS > keychain on a real desktop session (none was available, so the go-keyring compatibility in §3 > is untested), IRC, GitHub and VNC against real servers (tested against fakes), serial hardware. -> - **Still open:** the update/release URLs still point at alchementary.co.uk (§7) — to move to -> dixon.cx, change `DEFAULT_UPDATE_URL`/`DEFAULT_RELEASE_BASE_URL` in `rust/release.sh` and -> `DEFAULT_UPDATE_URL` in `rust/core/src/updater.rs`. +> - **Update URLs:** moved to `https://dixon.cx/downloads/nexus` (§7). Goal: rebuild Alchementary Link in Rust as **Nexus Terminal**, a single Rust application in the style of Leviathan Desktop (`../leviathan/rust`). @@ -274,7 +272,7 @@ undoes it and migrates the data. | Keychain service | `AlchementaryLink` | `NexusTerminal` | | Export file | `.link`, "Link Export" | `.nexus`, "Nexus Export" (import accepts both) | | Updater User-Agent and GitHub fallback | `AlchementaryLink-UpdateChecker`, `alchementary-link` | `NexusTerminal-UpdateChecker`, `nexus-terminal` | -| Update and release URLs | `alchementary.co.uk/download/link/…` | ⚠ **Decision needed:** the new URL for the manifest and downloads | +| Update and release URLs | `alchementary.co.uk/download/link/…` | `dixon.cx/downloads/nexus/…` | | Icons and brand mark | `alchementary-link-*.png`, ">_ AlchementaryLink" | Restore the `nexus-terminal-*` icons from git history (pre-`1a380a0`), redrawn for the egui title bar | **First-run migration** (in `nexus-core`, before the database is opened): diff --git a/rust/core/src/updater.rs b/rust/core/src/updater.rs index 99e3d7f..f671c87 100644 --- a/rust/core/src/updater.rs +++ b/rust/core/src/updater.rs @@ -8,7 +8,7 @@ use std::io::Read; use std::time::Duration; /// Manifest URL template; expand with [`expand_update_url`]. -pub const DEFAULT_UPDATE_URL: &str = "https://alchementary.co.uk/download/link/manifest-{platform}-{arch}.json"; +pub const DEFAULT_UPDATE_URL: &str = "https://dixon.cx/downloads/nexus/manifest-{platform}-{arch}.json"; const GITHUB_OWNER: &str = "nexus-terminal"; const GITHUB_REPO: &str = "nexus-terminal"; const USER_AGENT: &str = "NexusTerminal-UpdateChecker"; diff --git a/rust/release.sh b/rust/release.sh index 03dd4f9..956fb52 100755 --- a/rust/release.sh +++ b/rust/release.sh @@ -15,8 +15,8 @@ HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT="$(cd "$HERE/.." && pwd)" cd "$HERE" -DEFAULT_UPDATE_URL="https://alchementary.co.uk/download/link/manifest-{platform}-{arch}.json" -DEFAULT_RELEASE_BASE_URL="https://alchementary.co.uk/download/link" +DEFAULT_UPDATE_URL="https://dixon.cx/downloads/nexus/manifest-{platform}-{arch}.json" +DEFAULT_RELEASE_BASE_URL="https://dixon.cx/downloads/nexus" log() { echo -e "\033[0;32m[nexus]\033[0m $1"; } warn() { echo -e "\033[1;33m[nexus]\033[0m $1"; }