1
1
mirror of https://github.com/neosubhamoy/neodlp-website.git synced 2026-02-04 12:22:21 +05:30

refactor: updated to new tauri release package naming schemes

This commit is contained in:
2025-10-28 13:23:09 +05:30
Verified
parent bdcfedeeb1
commit 0f4c52bab2
6 changed files with 890 additions and 367 deletions

1078
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,30 +9,30 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/mdx": "^4.3.7", "@astrojs/mdx": "^4.3.8",
"@astrojs/netlify": "^6.5.12", "@astrojs/netlify": "^6.6.0",
"@astrojs/react": "^4.4.0", "@astrojs/react": "^4.4.0",
"@astrojs/sitemap": "^3.6.0", "@astrojs/sitemap": "^3.6.0",
"@radix-ui/react-dropdown-menu": "^2.1.16", "@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-separator": "^1.1.7", "@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3", "@radix-ui/react-slot": "^1.2.3",
"@tailwindcss/vite": "^4.1.14", "@tailwindcss/vite": "^4.1.16",
"@types/canvas-confetti": "^1.9.0", "@types/canvas-confetti": "^1.9.0",
"@types/react": "^19.2.2", "@types/react": "^19.2.2",
"@types/react-dom": "^19.2.1", "@types/react-dom": "^19.2.2",
"astro": "^5.14.3", "astro": "^5.15.1",
"astro-loading-indicator": "^0.7.0", "astro-loading-indicator": "^0.7.1",
"canvas-confetti": "^1.9.3", "canvas-confetti": "^1.9.4",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"lucide-react": "^0.545.0", "lucide-react": "^0.548.0",
"motion": "^12.23.22", "motion": "^12.23.24",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"react": "^19.2.0", "react": "^19.2.0",
"react-dom": "^19.2.0", "react-dom": "^19.2.0",
"sonner": "^2.0.7", "sonner": "^2.0.7",
"tailwind-merge": "^3.3.1", "tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.14" "tailwindcss": "^4.1.16"
}, },
"devDependencies": { "devDependencies": {
"tw-animate-css": "^1.4.0" "tw-animate-css": "^1.4.0"

View File

@@ -25,7 +25,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
</div> </div>
} }
as="a" as="a"
href={release.platforms["windows-x86_64"].url} href={release.platforms["windows-x86_64-nsis"].url}
target="_blank" target="_blank"
> >
<span className="font-semibold flex items-center gap-2"> <span className="font-semibold flex items-center gap-2">
@@ -82,7 +82,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
</div> </div>
} }
as="a" as="a"
href={release.platforms["darwin-x86_64"].url} href={release.platforms["darwin-x86_64-app"].url}
target="_blank" target="_blank"
> >
<span className="font-semibold flex items-center gap-2"> <span className="font-semibold flex items-center gap-2">
@@ -120,7 +120,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
</div> </div>
} }
as="a" as="a"
href={release.platforms["darwin-aarch64"].url} href={release.platforms["darwin-aarch64-app"].url}
target="_blank" target="_blank"
> >
<span className="font-semibold flex items-center gap-2"> <span className="font-semibold flex items-center gap-2">
@@ -177,7 +177,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
</div> </div>
} }
as="a" as="a"
href={release.platforms["linux-x86_64"].url} href={release.platforms["linux-x86_64-appimage"].url}
target="_blank" target="_blank"
> >
<span className="font-semibold flex items-center gap-2"> <span className="font-semibold flex items-center gap-2">

View File

@@ -109,7 +109,7 @@ export const ContainerScroll = ({
</div> </div>
} }
as="a" as="a"
href={release.platforms["windows-x86_64"].url} href={release.platforms["windows-x86_64-nsis"].url}
target="_blank" target="_blank"
> >
<span className="font-semibold flex items-center gap-2"> <span className="font-semibold flex items-center gap-2">
@@ -192,7 +192,7 @@ export const ContainerScroll = ({
</div> </div>
} }
as="a" as="a"
href={release.platforms["linux-x86_64-rpm"].url} href={release.platforms["linux-aarch64-deb"].url}
target="_blank" target="_blank"
> >
<span className="font-semibold flex items-center gap-2"> <span className="font-semibold flex items-center gap-2">
@@ -201,7 +201,7 @@ export const ContainerScroll = ({
</svg> </svg>
Download for Linux Download for Linux
</span> </span>
<span className="text-xs">(x64) RPM Package</span> <span className="text-xs">(ARM64) DEB Package</span>
</SlidingButton> </SlidingButton>
</> </>
)} )}

View File

@@ -10,19 +10,59 @@ let data = {
platforms: { platforms: {
"darwin-x86_64": { "darwin-x86_64": {
signature: "", 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": { "darwin-aarch64": {
signature: "", 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": { "windows-x86_64": {
signature: "", 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": { "linux-x86_64": {
signature: "", 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 = { const additionalPlatforms = {
"darwin-x86_64-dmg": { "darwin-x86_64-dmg": {
signature: "", signature: "",
url: baseUrl + `NeoDLP_${data.version}_x64.dmg` url: baseUrl + `NeoDLP_${data.version}_x64_darwin.dmg`
}, },
"darwin-aarch64-dmg": { "darwin-aarch64-dmg": {
signature: "", signature: "",
url: baseUrl + `NeoDLP_${data.version}_aarch64.dmg` url: baseUrl + `NeoDLP_${data.version}_aarch64_darwin.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`
}, },
"linux-x86_64+aarch64-aur": { "linux-x86_64+aarch64-aur": {
signature: "", signature: "",

View File

@@ -3,6 +3,7 @@ import FeaturesSection from '@/components/FeaturesSection';
import HeroSection from '@/components/HeroSection'; import HeroSection from '@/components/HeroSection';
import HighlightSection from '@/components/HighlightSection'; import HighlightSection from '@/components/HighlightSection';
import Main from '@/layouts/main.astro'; import Main from '@/layouts/main.astro';
import { Sigma } from 'lucide-react';
// Default fallback data in case fetch fails // Default fallback data in case fetch fails
let data = { let data = {
@@ -12,19 +13,59 @@ let data = {
platforms: { platforms: {
"darwin-x86_64": { "darwin-x86_64": {
signature: "", 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": { "darwin-aarch64": {
signature: "", 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": { "windows-x86_64": {
signature: "", 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": { "linux-x86_64": {
signature: "", 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 = { const additionalPlatforms = {
"darwin-x86_64-dmg": { "darwin-x86_64-dmg": {
signature: "", signature: "",
url: baseUrl + `NeoDLP_${data.version}_x64.dmg` url: baseUrl + `NeoDLP_${data.version}_x64_darwin.dmg`
}, },
"darwin-aarch64-dmg": { "darwin-aarch64-dmg": {
signature: "", signature: "",
url: baseUrl + `NeoDLP_${data.version}_aarch64.dmg` url: baseUrl + `NeoDLP_${data.version}_aarch64_darwin.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`
}, },
"linux-x86_64+aarch64-aur": { "linux-x86_64+aarch64-aur": {
signature: "", signature: "",