Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
Update download links to use UPSCAYL_VERSION constant
Browse files Browse the repository at this point in the history
  • Loading branch information
NayamAmarshe committed Dec 16, 2023
1 parent 074baca commit 7be8db1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/lib/components/DownloadSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import Modal from './ui/Modal.svelte';
import IconList from './ui/IconList.svelte';
import JoinWaitlist from './JoinWaitlist.svelte';
import { UPSCAYL_VERSION } from '$lib/constants/upscayl-version';
let showLinuxModal = false;
let showMacModal = false;
Expand Down Expand Up @@ -74,7 +75,7 @@
id="download-links-list"
>
<a
href="https://github.com/upscayl/upscayl/releases/download/v2.9.5/upscayl-2.9.5-linux.AppImage"
href={`https://github.com/upscayl/upscayl/releases/download/v${UPSCAYL_VERSION}/upscayl-${UPSCAYL_VERSION}-linux.AppImage`}
target="_blank"
rel="noreferrer noopener">AppImage (Universal Portable)</a
>
Expand All @@ -87,17 +88,17 @@
>Snap Store</a
>
<a
href="https://github.com/upscayl/upscayl/releases/download/v2.9.5/upscayl-2.9.5-linux.deb"
href={`https://github.com/upscayl/upscayl/releases/download/v${UPSCAYL_VERSION}/upscayl-${UPSCAYL_VERSION}-linux.deb`}
target="_blank"
rel="noreferrer noopener">DEB (Debian/Ubuntu based)</a
>
<a
href="https://github.com/upscayl/upscayl/releases/download/v2.9.5/upscayl-2.9.5-linux.rpm"
href={`https://github.com/upscayl/upscayl/releases/download/v${UPSCAYL_VERSION}/upscayl-${UPSCAYL_VERSION}-linux.rpm`}
target="_blank"
rel="noreferrer noopener">RPM (Fedora based)</a
>
<a
href="https://github.com/upscayl/upscayl/releases/download/v2.9.5/upscayl-2.9.5-linux.zip"
href={`https://github.com/upscayl/upscayl/releases/download/v${UPSCAYL_VERSION}/upscayl-${UPSCAYL_VERSION}-linux.zip`}
target="_blank"
rel="noreferrer noopener">ZIP (Universal Portable)</a
>
Expand Down Expand Up @@ -131,7 +132,7 @@
<img src="appstore.svg" alt="" class="w-full" />
</a>
<a
href="https://github.com/upscayl/upscayl/releases/download/v2.9.5/upscayl-2.9.5-mac.dmg"
href={`https://github.com/upscayl/upscayl/releases/download/v${UPSCAYL_VERSION}/upscayl-${UPSCAYL_VERSION}-mac.dmg`}
target="_blank"
rel="noreferrer noopener">DMG</a
>
Expand All @@ -153,7 +154,7 @@
id="download-links-list"
>
<a
href="https://github.com/upscayl/upscayl/releases/download/v2.9.5/upscayl-2.9.5-win.exe"
href={`https://github.com/upscayl/upscayl/releases/download/v${UPSCAYL_VERSION}/upscayl-${UPSCAYL_VERSION}-win.exe`}
target="_blank"
rel="noreferrer noopener">EXE Installer</a
>
Expand Down
1 change: 1 addition & 0 deletions src/lib/constants/upscayl-version.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const UPSCAYL_VERSION = '2.9.5';

0 comments on commit 7be8db1

Please sign in to comment.