diff --git a/src/components/download.tsx b/src/components/download.tsx index aa62dd5..7d553e8 100644 --- a/src/components/download.tsx +++ b/src/components/download.tsx @@ -43,6 +43,7 @@ export default function DownloadPage() { platform: getDefaultPlatformBasedOnUserAgent(), }, }); + const watchRelease = form.watch("platform"); const onSubmit = async (data: any) => { const platform = data.platform; @@ -104,6 +105,7 @@ export default function DownloadPage() { MacOS Linux Windows Pretty Installer + Local Flatpak (Linux) @@ -111,7 +113,7 @@ export default function DownloadPage() { )} /> - {form.getValues().platform === "Linux" && ( + {watchRelease === "Linux" && (

Linux user?
@@ -120,7 +122,7 @@ export default function DownloadPage() {

)} - {form.getValues().platform === "MacOS" && ( + {watchRelease === "MacOS" && (

Mac user?
diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.ts index 323b617..bfa4b99 100644 --- a/src/lib/release-notes.ts +++ b/src/lib/release-notes.ts @@ -213,6 +213,39 @@ export const releaseNotes: ReleaseNote[] = [ "Changed the way profile avatars are stored, may not be any issues, please report them if you find any." ], }, + { + version: "1.0.0-a.7", + date: "27/07/2024", + extra: "This release is the seventh alpha release of the 1.0.0-alpha series. This release includes some important bug fixes and improvements. The main focus of this release was to improve some small details and improve stability.", + features: [ + "A grid system for pinned tabs.", + "Flatpak support.", + "More performance improvements.", + "Added newtab wallpapers (Version 2).", + "Enabled hiding floating sidebar web panels when clicking outside.", + "Branded more the installer.", + "Used more intuitive icons for the sidebar.", + "Improved animations.", + "More compact view stability improvements.", + ], + fixes: [ + { + description: "Fixed the browser crashing when updating on linux.", + issue: 76 + }, + { + description: "Fixed workspace deleting button, deleting the wrong workspace.", + issue: 81 + }, + { + description: "Fixed the expanded sidebar for the compact view.", + issue: 79 + }, + { + description: "Fixed small margin on hidden windows.", + } + ], + } ].reverse(); export function releaseNoteIsAlpha(note: ReleaseNote) { diff --git a/src/lib/releases.ts b/src/lib/releases.ts index 99f4dec..5897ffe 100644 --- a/src/lib/releases.ts +++ b/src/lib/releases.ts @@ -4,4 +4,5 @@ export const releases: any = { WindowsZip: "zen.win64.zip", MacOS: "zen.macos.dmg", Linux: "zen.linux.tar.bz2", + Flatpak: "com.zen.browser.flatpak", }; \ No newline at end of file