Speed up downloads by combining multiple network connections in parallel
TypeScript bandwidth-aggregationcross-platformdesktop-appdownloaderdownloadmanagerlinuxmacosmulticonnectionparallel-downloadswindows
chore: point the app and release notes at getplexo.app, add a 404 page (#69)
Anmol Kapilefd3b3b473ce
diff --git a/docs/404.html b/docs/404.htmlnew file mode 100644index 0000000..d3697a5--- /dev/null+++ b/docs/404.html@@ -0,0 +1,75 @@+<!doctype html>+<html lang="en">+ <head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width,initial-scale=1" />+ <meta name="theme-color" content="#0A0A0B" />+ <meta name="robots" content="noindex" />+ <title>Page not found — Plexo</title>+ <link rel="icon" href="/favicon.svg" type="image/svg+xml" />+ <style>+ @font-face {+ font-family: 'Archivo';+ src: url('/assets/fonts/Archivo-Variable.woff2') format('woff2');+ font-weight: 100 900;+ font-stretch: 62% 125%;+ font-display: swap;+ }+ @font-face {+ font-family: 'Geist';+ src: url('/assets/fonts/Geist-Variable.woff2') format('woff2');+ font-weight: 100 900;+ font-display: swap;+ }+ html {+ color-scheme: dark;+ }+ body {+ display: grid;+ place-items: center;+ min-height: 100dvh;+ margin: 0;+ padding: 24px;+ background: #0a0a0b;+ color: #ededef;+ font-family: 'Geist', system-ui, sans-serif;+ text-align: center;+ }+ h1 {+ margin: 0 0 12px;+ font-family: 'Archivo', 'Helvetica Neue', sans-serif;+ font-stretch: 118%;+ font-weight: 600;+ font-size: clamp(32px, 6vw, 56px);+ letter-spacing: -0.02em;+ text-transform: uppercase;+ }+ h1 span {+ color: #f36712;+ }+ p {+ margin: 0 0 32px;+ color: #a1a1a8;+ }+ a {+ display: inline-block;+ padding: 12px 22px;+ border-radius: 999px;+ background: #f36712;+ color: #0a0a0b;+ font-weight: 600;+ text-decoration: none;+ }+ a:hover {+ background: #ff8a3d;+ }+ </style>+ </head>+ <body>+ <main>+ <h1><span>404</span> Not found</h1>+ <p>This page doesn’t exist.</p>+ <a href="https://getplexo.app/">Back to Plexo</a>+ </main>+ </body>+</html>diff --git a/e2e/downloads.spec.ts b/e2e/downloads.spec.tsindex c20af44..d00cb00 100644--- a/e2e/downloads.spec.ts+++ b/e2e/downloads.spec.ts@@ -259,11 +259,11 @@ test.describe('which download is offered', () => {size: 100 * 1048576,url: BASE + name}))- const text = D.markdown(files, 'https://anmolkapil.github.io/plexo/')+ const text = D.markdown(files, 'https://getplexo.app/')for (const name of SHIPPED) expect(text.split(BASE + name + ')')).toHaveLength(2)for (const name of NOISE) expect(text).not.toContain(name)expect(text).toContain('[Apple silicon]')- expect(text).toContain('https://anmolkapil.github.io/plexo/#downloads')+ expect(text).toContain('https://getplexo.app/#downloads')expect(text).toContain('`xattr -dr com.apple.quarantine /Applications/Plexo.app`')})})diff --git a/scripts/release-notes.mjs b/scripts/release-notes.mjsindex 6c0c4e7..9c7eff5 100644--- a/scripts/release-notes.mjs+++ b/scripts/release-notes.mjs@@ -16,7 +16,7 @@ import { fileURLToPath } from 'node:url'const { PlexoDownloads: downloads } = createRequire(import.meta.url)('../docs/downloads.js')const REPO = 'anmolkapil/plexo'-const SITE = 'https://anmolkapil.github.io/plexo/'+const SITE = 'https://getplexo.app/'const [tag, arg] = process.argv.slice(2)if (!tag || !/^v\d/.test(tag)) {diff --git a/src/main/updateCheck.ts b/src/main/updateCheck.tsindex 725cb75..260f1f0 100644--- a/src/main/updateCheck.ts+++ b/src/main/updateCheck.ts@@ -4,7 +4,7 @@ import type { UpdateInfo } from '../shared/types'type ReleaseInfo = Omit<UpdateInfo, 'dismissed'>const REPO = 'anmolkapil/plexo'-export const UPDATE_PAGE_URL = 'https://anmolkapil.github.io/plexo/'+export const UPDATE_PAGE_URL = 'https://getplexo.app/'function parseVersion(version: string): number[] {// ponytail: naive numeric-segment compare, not full semver (a "1.0.0-rc.2" pre-release tag