mirror of
https://github.com/neosubhamoy/neodlp-website.git
synced 2026-03-22 14:05:50 +05:30
refactor: updated to new tauri release package naming schemes
This commit is contained in:
@@ -25,7 +25,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
|
||||
</div>
|
||||
}
|
||||
as="a"
|
||||
href={release.platforms["windows-x86_64"].url}
|
||||
href={release.platforms["windows-x86_64-nsis"].url}
|
||||
target="_blank"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
@@ -82,7 +82,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
|
||||
</div>
|
||||
}
|
||||
as="a"
|
||||
href={release.platforms["darwin-x86_64"].url}
|
||||
href={release.platforms["darwin-x86_64-app"].url}
|
||||
target="_blank"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
@@ -120,7 +120,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
|
||||
</div>
|
||||
}
|
||||
as="a"
|
||||
href={release.platforms["darwin-aarch64"].url}
|
||||
href={release.platforms["darwin-aarch64-app"].url}
|
||||
target="_blank"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
@@ -177,7 +177,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
|
||||
</div>
|
||||
}
|
||||
as="a"
|
||||
href={release.platforms["linux-x86_64"].url}
|
||||
href={release.platforms["linux-x86_64-appimage"].url}
|
||||
target="_blank"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
|
||||
@@ -109,7 +109,7 @@ export const ContainerScroll = ({
|
||||
</div>
|
||||
}
|
||||
as="a"
|
||||
href={release.platforms["windows-x86_64"].url}
|
||||
href={release.platforms["windows-x86_64-nsis"].url}
|
||||
target="_blank"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
@@ -192,7 +192,7 @@ export const ContainerScroll = ({
|
||||
</div>
|
||||
}
|
||||
as="a"
|
||||
href={release.platforms["linux-x86_64-rpm"].url}
|
||||
href={release.platforms["linux-aarch64-deb"].url}
|
||||
target="_blank"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
@@ -201,7 +201,7 @@ export const ContainerScroll = ({
|
||||
</svg>
|
||||
Download for Linux
|
||||
</span>
|
||||
<span className="text-xs">(x64) RPM Package</span>
|
||||
<span className="text-xs">(ARM64) DEB Package</span>
|
||||
</SlidingButton>
|
||||
</>
|
||||
)}
|
||||
|
||||
@@ -10,19 +10,59 @@ let data = {
|
||||
platforms: {
|
||||
"darwin-x86_64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_x64.app.tar.gz"
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_darwin_x64.app.tar.gz"
|
||||
},
|
||||
"darwin-aarch64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_aarch64.app.tar.gz"
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_darwin_aarch64.app.tar.gz"
|
||||
},
|
||||
"windows-x86_64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_x64-setup.exe"
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_x64-setup_windows.exe"
|
||||
},
|
||||
"linux-x86_64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_amd64.AppImage"
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_amd64_linux.AppImage"
|
||||
},
|
||||
"linux-aarch64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_aarch64_linux.AppImage"
|
||||
},
|
||||
"darwin-aarch64-app": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_darwin_aarch64.app.tar.gz"
|
||||
},
|
||||
"darwin-x86_64-app": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_darwin_x64.app.tar.gz"
|
||||
},
|
||||
"linux-aarch64-deb": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_arm64_linux.deb"
|
||||
},
|
||||
"linux-aarch64-rpm": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP-0.0.0-1.aarch64_linux.rpm"
|
||||
},
|
||||
"linux-x86_64-appimage": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_amd64_linux.AppImage"
|
||||
},
|
||||
"linux-x86_64-deb": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_amd64_linux.deb"
|
||||
},
|
||||
"linux-x86_64-rpm": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP-0.0.0-1.x86_64_linux.rpm"
|
||||
},
|
||||
"windows-x86_64-nsis": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_x64-setup_windows.exe"
|
||||
},
|
||||
"windows-x86_64-msi": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_x64_en-US_windows.msi"
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -36,31 +76,11 @@ try {
|
||||
const additionalPlatforms = {
|
||||
"darwin-x86_64-dmg": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_x64.dmg`
|
||||
url: baseUrl + `NeoDLP_${data.version}_x64_darwin.dmg`
|
||||
},
|
||||
"darwin-aarch64-dmg": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_aarch64.dmg`
|
||||
},
|
||||
"windows-x86_64-msi": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_x64_en-US.msi`
|
||||
},
|
||||
"linux-x86_64-deb": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_amd64.deb`
|
||||
},
|
||||
"linux-x86_64-rpm": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP-${data.version}-1.x86_64.rpm`
|
||||
},
|
||||
"linux-aarch64-deb": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_arm64.deb`
|
||||
},
|
||||
"linux-aarch64-rpm": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP-${data.version}-1.aarch64.rpm`
|
||||
url: baseUrl + `NeoDLP_${data.version}_aarch64_darwin.dmg`
|
||||
},
|
||||
"linux-x86_64+aarch64-aur": {
|
||||
signature: "",
|
||||
|
||||
@@ -3,6 +3,7 @@ import FeaturesSection from '@/components/FeaturesSection';
|
||||
import HeroSection from '@/components/HeroSection';
|
||||
import HighlightSection from '@/components/HighlightSection';
|
||||
import Main from '@/layouts/main.astro';
|
||||
import { Sigma } from 'lucide-react';
|
||||
|
||||
// Default fallback data in case fetch fails
|
||||
let data = {
|
||||
@@ -12,19 +13,59 @@ let data = {
|
||||
platforms: {
|
||||
"darwin-x86_64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_x64.app.tar.gz"
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_darwin_x64.app.tar.gz"
|
||||
},
|
||||
"darwin-aarch64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_aarch64.app.tar.gz"
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_darwin_aarch64.app.tar.gz"
|
||||
},
|
||||
"windows-x86_64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_x64-setup.exe"
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_x64-setup_windows.exe"
|
||||
},
|
||||
"linux-x86_64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_amd64.AppImage"
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_amd64_linux.AppImage"
|
||||
},
|
||||
"linux-aarch64": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_aarch64_linux.AppImage"
|
||||
},
|
||||
"darwin-aarch64-app": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_darwin_aarch64.app.tar.gz"
|
||||
},
|
||||
"darwin-x86_64-app": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_darwin_x64.app.tar.gz"
|
||||
},
|
||||
"linux-aarch64-deb": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_arm64_linux.deb"
|
||||
},
|
||||
"linux-aarch64-rpm": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP-0.0.0-1.aarch64_linux.rpm"
|
||||
},
|
||||
"linux-x86_64-appimage": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_amd64_linux.AppImage"
|
||||
},
|
||||
"linux-x86_64-deb": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_amd64_linux.deb"
|
||||
},
|
||||
"linux-x86_64-rpm": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP-0.0.0-1.x86_64_linux.rpm"
|
||||
},
|
||||
"windows-x86_64-nsis": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_x64-setup_windows.exe"
|
||||
},
|
||||
"windows-x86_64-msi": {
|
||||
signature: "",
|
||||
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_x64_en-US_windows.msi"
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -38,31 +79,11 @@ try {
|
||||
const additionalPlatforms = {
|
||||
"darwin-x86_64-dmg": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_x64.dmg`
|
||||
url: baseUrl + `NeoDLP_${data.version}_x64_darwin.dmg`
|
||||
},
|
||||
"darwin-aarch64-dmg": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_aarch64.dmg`
|
||||
},
|
||||
"windows-x86_64-msi": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_x64_en-US.msi`
|
||||
},
|
||||
"linux-x86_64-deb": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_amd64.deb`
|
||||
},
|
||||
"linux-x86_64-rpm": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP-${data.version}-1.x86_64.rpm`
|
||||
},
|
||||
"linux-aarch64-deb": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP_${data.version}_arm64.deb`
|
||||
},
|
||||
"linux-aarch64-rpm": {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP-${data.version}-1.aarch64.rpm`
|
||||
url: baseUrl + `NeoDLP_${data.version}_aarch64_darwin.dmg`
|
||||
},
|
||||
"linux-x86_64+aarch64-aur": {
|
||||
signature: "",
|
||||
|
||||
Reference in New Issue
Block a user