Move update and release URLs to dixon.cx/downloads/nexus
This commit is contained in:
@@ -13,9 +13,7 @@
|
|||||||
> - **Not verified:** macOS builds (need Apple's C toolchain), running on Windows or macOS, the OS
|
> - **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
|
> 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.
|
> 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
|
> - **Update URLs:** moved to `https://dixon.cx/downloads/nexus` (§7).
|
||||||
> dixon.cx, change `DEFAULT_UPDATE_URL`/`DEFAULT_RELEASE_BASE_URL` in `rust/release.sh` and
|
|
||||||
> `DEFAULT_UPDATE_URL` in `rust/core/src/updater.rs`.
|
|
||||||
|
|
||||||
Goal: rebuild Alchementary Link in Rust as **Nexus Terminal**, a single Rust application in the
|
Goal: rebuild Alchementary Link in Rust as **Nexus Terminal**, a single Rust application in the
|
||||||
style of Leviathan Desktop (`../leviathan/rust`).
|
style of Leviathan Desktop (`../leviathan/rust`).
|
||||||
@@ -274,7 +272,7 @@ undoes it and migrates the data.
|
|||||||
| Keychain service | `AlchementaryLink` | `NexusTerminal` |
|
| Keychain service | `AlchementaryLink` | `NexusTerminal` |
|
||||||
| Export file | `.link`, "Link Export" | `.nexus`, "Nexus Export" (import accepts both) |
|
| 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` |
|
| 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 |
|
| 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):
|
**First-run migration** (in `nexus-core`, before the database is opened):
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ use std::io::Read;
|
|||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
/// Manifest URL template; expand with [`expand_update_url`].
|
/// 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_OWNER: &str = "nexus-terminal";
|
||||||
const GITHUB_REPO: &str = "nexus-terminal";
|
const GITHUB_REPO: &str = "nexus-terminal";
|
||||||
const USER_AGENT: &str = "NexusTerminal-UpdateChecker";
|
const USER_AGENT: &str = "NexusTerminal-UpdateChecker";
|
||||||
|
|||||||
+2
-2
@@ -15,8 +15,8 @@ HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||||||
ROOT="$(cd "$HERE/.." && pwd)"
|
ROOT="$(cd "$HERE/.." && pwd)"
|
||||||
cd "$HERE"
|
cd "$HERE"
|
||||||
|
|
||||||
DEFAULT_UPDATE_URL="https://alchementary.co.uk/download/link/manifest-{platform}-{arch}.json"
|
DEFAULT_UPDATE_URL="https://dixon.cx/downloads/nexus/manifest-{platform}-{arch}.json"
|
||||||
DEFAULT_RELEASE_BASE_URL="https://alchementary.co.uk/download/link"
|
DEFAULT_RELEASE_BASE_URL="https://dixon.cx/downloads/nexus"
|
||||||
|
|
||||||
log() { echo -e "\033[0;32m[nexus]\033[0m $1"; }
|
log() { echo -e "\033[0;32m[nexus]\033[0m $1"; }
|
||||||
warn() { echo -e "\033[1;33m[nexus]\033[0m $1"; }
|
warn() { echo -e "\033[1;33m[nexus]\033[0m $1"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user