From c6d6ae100ebeaf72b7ac2197a8fdd399cda3735b Mon Sep 17 00:00:00 2001 From: zubiden <19638254+zubiden@users.noreply.github.com> Date: Sun, 22 Feb 2026 23:43:31 +0100 Subject: [PATCH] Tauri: Hide Linux download (#6701) --- public/get/index.js | 4 +--- src/lib/rlottie/rlottie.worker.ts | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/public/get/index.js b/public/get/index.js index ce90841d2..21f022fd4 100644 --- a/public/get/index.js +++ b/public/get/index.js @@ -36,7 +36,7 @@ const packagesPromise = fetch(LATEST_RELEASE_API_URL) }); (function init() { - if (platform === 'Windows' || platform === 'Linux') { + if (platform === 'Windows') { if (currentPage === 'index') { setupDownloadButton(); setupVersion(); @@ -115,8 +115,6 @@ function redirectToFullList() { function downloadDefault() { if (platform === 'Windows') { download('win'); - } else if (platform === 'Linux') { - download('linux'); } else if (platform === 'macOS') { redirectToMac(); } else { diff --git a/src/lib/rlottie/rlottie.worker.ts b/src/lib/rlottie/rlottie.worker.ts index 97ca7e1df..01fe75115 100644 --- a/src/lib/rlottie/rlottie.worker.ts +++ b/src/lib/rlottie/rlottie.worker.ts @@ -100,6 +100,7 @@ async function extractJson(tgsUrl: string) { return ''; } + // Prefer native gzip decompression over library. This use case has ~same speed const decompressionStream = response.body.pipeThrough(new DecompressionStream('gzip')); const result = await new Response(decompressionStream).text(); return result;