You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Chatterino7 uses https://7tv.io/v2/chatterino/version/{os}/{branch} for updates (⚠ This 404s currently(?)) where os is one of win|macos|linux and branch is one of beta|stable. This follows the official update server (sitting at https://notitia.chatterino.com/version/chatterino/{os}/{branch}).
It would be nice if the next Chatterino version could at least have a URL schema to check for (even if the API isn't actually implemented). Since there's no API schema or anything, I'll propose https://7tv.io/v4/chatterino/version/{os}/{branch}.
The response structure is the following (for each os - branches are identical):
typeCommonResponse={/// A version string ({major}.{minor}.{patch})./// Even for beta versions, this doesn't include any suffix.version: string;};typeWindowsResponse=CommonResponse&{/// A (potentially redirected) URL to a download of the portable version /// (a zip file - Chatterino7.Portable.zip)portable_download: string;/// A (potentially redirected) URL to a download of the installer (Chatterino7.Installer.exe)updateexe: string;// 🆕 I propose the following (even though we don't have ARM builds yet)/// Chatterino7.Installer.ARM.exeupdate_arm: string;/// Chatterino7.Installer.exeupdate_x86: string;/// A version string ({major}.{minor}.{patch})./// Even for beta versions, this doesn't include any suffix.version: string;};typeMacOsResponse=CommonResponse&{/// A (potentially redirected) URL to a download of the "installer" /// (Chatterino-x86_64.dmg - for backwards compat, see below)/// In contrast to the windows URLs, this will open in the browser.updateexe: string;// 🆕 I propose the following, since we now have ARM and x86 builds:/// Chatterino-arm64.dmgupdate_arm: string;/// Chatterino-x86_64.dmgupdate_x86: string;};typeLinuxResponse=CommonResponse&{/// A link to a website containing update instructions (just the GH release page for now)updateguide: string;};
As for macOS, I'll add a popup (in the changelog one) notifying users using the x86 build on ARM to use the actual ARM version. Technically, since the URL opens in the browser, we could also serve some JS that detects if the user is running on Apple Silicon.
Tell us about your Wish
Currently, Chatterino7 uses
https://7tv.io/v2/chatterino/version/{os}/{branch}
for updates (⚠ This 404s currently(?)) whereos
is one ofwin|macos|linux
andbranch
is one ofbeta|stable
. This follows the official update server (sitting athttps://notitia.chatterino.com/version/chatterino/{os}/{branch}
).It would be nice if the next Chatterino version could at least have a URL schema to check for (even if the API isn't actually implemented). Since there's no API schema or anything, I'll propose
https://7tv.io/v4/chatterino/version/{os}/{branch}
.The response structure is the following (for each os - branches are identical):
As for macOS, I'll add a popup (in the changelog one) notifying users using the x86 build on ARM to use the actual ARM version. Technically, since the URL opens in the browser, we could also serve some JS that detects if the user is running on Apple Silicon.
You can find the current implementation of the Updater at https://github.com/SevenTV/chatterino7/blob/chatterino7/src/singletons/Updates.cpp.
Is your feature related to a bug
No response
Additional Info
No response
Participation
The text was updated successfully, but these errors were encountered: