mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(downloads): route desktop releases through GitHub
This commit is contained in:
1 parent
dc230926a4
commit
094fb0d1c8
15 files changed
+1093
-155
No files matched your search
@@ -473,14 +473,14 @@ function buildManualLatestDownloadUrl(format: ManualDesktopFormat): string {
|
||||
return `${UPDATE_BASE_URL}/latest/${format}`;
|
||||
}
|
||||
|
||||
function getModernProductName(): string {
|
||||
return BUILD_CHANNEL === 'canary' ? 'Fluxer Canary' : 'Fluxer';
|
||||
function getArtifactProductName(): string {
|
||||
return BUILD_CHANNEL === 'canary' ? 'Fluxer-Canary' : 'Fluxer';
|
||||
}
|
||||
|
||||
function getManualUpdateSuggestedName(format: LinuxManualDesktopFormat, version: string): string {
|
||||
const archToken = LINUX_MANUAL_ARCH_TOKENS[format][DESKTOP_DOWNLOAD_ARCH];
|
||||
const extension = LINUX_MANUAL_FORMAT_EXTENSIONS[format];
|
||||
return `${getModernProductName()}-${version}-linux-${archToken}${extension}`;
|
||||
return `${getArtifactProductName()}-${version}-linux-${archToken}${extension}`;
|
||||
}
|
||||
|
||||
function getManualDownloadOptions(info: ManualLatestInfo): Array<UpdaterDownloadOption> {
|
||||
|
||||
Reference in new issue
Block a user