Move update and release URLs to dixon.cx/downloads/nexus
This commit is contained in:
@@ -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";
|
||||
|
||||
+2
-2
@@ -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"; }
|
||||
|
||||
Reference in New Issue
Block a user