mirror of
https://github.com/neosubhamoy/neodlp-website.git
synced 2026-02-04 12:22:21 +05:30
refactor: added arm64 linux builds, added linux curl-bash installer, fixed all downloads grid and bumped up deps
This commit is contained in:
3332
package-lock.json
generated
3332
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
34
package.json
34
package.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "neodlp-website",
|
||||
"type": "module",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"build": "astro build",
|
||||
@@ -9,32 +9,32 @@
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^4.3.0",
|
||||
"@astrojs/netlify": "^6.5.0",
|
||||
"@astrojs/react": "^4.3.0",
|
||||
"@astrojs/sitemap": "^3.4.1",
|
||||
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
||||
"@astrojs/mdx": "^4.3.7",
|
||||
"@astrojs/netlify": "^6.5.12",
|
||||
"@astrojs/react": "^4.4.0",
|
||||
"@astrojs/sitemap": "^3.6.0",
|
||||
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
||||
"@radix-ui/react-separator": "^1.1.7",
|
||||
"@radix-ui/react-slot": "^1.2.3",
|
||||
"@tailwindcss/vite": "^4.1.11",
|
||||
"@tailwindcss/vite": "^4.1.14",
|
||||
"@types/canvas-confetti": "^1.9.0",
|
||||
"@types/react": "^19.1.8",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"astro": "^5.11.1",
|
||||
"@types/react": "^19.2.2",
|
||||
"@types/react-dom": "^19.2.1",
|
||||
"astro": "^5.14.3",
|
||||
"astro-loading-indicator": "^0.7.0",
|
||||
"canvas-confetti": "^1.9.3",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"lucide-react": "^0.525.0",
|
||||
"motion": "^12.23.6",
|
||||
"lucide-react": "^0.545.0",
|
||||
"motion": "^12.23.22",
|
||||
"next-themes": "^0.4.6",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"sonner": "^2.0.6",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0",
|
||||
"sonner": "^2.0.7",
|
||||
"tailwind-merge": "^3.3.1",
|
||||
"tailwindcss": "^4.1.11"
|
||||
"tailwindcss": "^4.1.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tw-animate-css": "^1.3.5"
|
||||
"tw-animate-css": "^1.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
115
public/linux_installer.sh
Normal file
115
public/linux_installer.sh
Normal file
@@ -0,0 +1,115 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Config
|
||||
OWNER="neosubhamoy"
|
||||
REPO="neodlp"
|
||||
DOWNLOAD_DIR=~/Downloads
|
||||
|
||||
# Check if NeoDLP is already installed
|
||||
echo "### === NeoDLP Installer (Linux) === ###"
|
||||
echo "🔍 Checking system requirements..."
|
||||
if command -v neodlp &> /dev/null; then
|
||||
echo "❗ NeoDLP is already installed at $(which neodlp)"
|
||||
read -p "❓ Would you like to reinstall/update? (y/N): " -n 1 -r
|
||||
echo
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
echo "🛑 Installation aborted."
|
||||
exit 0
|
||||
fi
|
||||
echo "🔄 Proceeding with reinstallation/update..."
|
||||
fi
|
||||
|
||||
# Detect system architecture
|
||||
ARCH=$(uname -m)
|
||||
|
||||
if [[ "$ARCH" == "aarch64" || "$ARCH" == "arm64" ]]; then
|
||||
ASSET_ARCH="arm64"
|
||||
echo "🧠 Detected ARM64 architecture"
|
||||
elif [[ "$ARCH" == "x86_64" ]]; then
|
||||
ASSET_ARCH="x64"
|
||||
echo "🧠 Detected x86_64 architecture"
|
||||
else
|
||||
echo "❌ Unsupported architecture: $ARCH"
|
||||
echo "🛑 Installation aborted."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get the latest release tag and version from GitHub API
|
||||
TAG=$(curl -s https://api.github.com/repos/$OWNER/$REPO/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
|
||||
VERSION=${TAG#v}
|
||||
|
||||
# Detect package manager and set asset name accordingly
|
||||
if command -v apt &> /dev/null; then
|
||||
ASSET_NAME="NeoDLP_$VERSION}_$([[ "$ASSET_ARCH" == "x64" ]] && echo "amd64" || echo "arm64").deb"
|
||||
PKG_MANAGER="apt"
|
||||
INSTALL_CMD="sudo apt install -y"
|
||||
echo "🐧 Detected debian/ubuntu based distro"
|
||||
elif command -v dnf &> /dev/null; then
|
||||
ASSET_NAME="NeoDLP-${VERSION}-1.$([[ "$ASSET_ARCH" == "x64" ]] && echo "x86_64" || echo "aarch64").rpm"
|
||||
PKG_MANAGER="dnf"
|
||||
INSTALL_CMD="sudo dnf install -y"
|
||||
echo "🐧 Detected rhel/fedora based distro"
|
||||
elif command -v yum &> /dev/null; then
|
||||
ASSET_NAME="NeoDLP-${VERSION}-1.$([[ "$ASSET_ARCH" == "x64" ]] && echo "x86_64" || echo "aarch64").rpm"
|
||||
PKG_MANAGER="yum"
|
||||
INSTALL_CMD="sudo yum install -y"
|
||||
echo "🐧 Detected rhel/fedora based distro"
|
||||
elif command -v zypper &> /dev/null; then
|
||||
ASSET_NAME="NeoDLP-${VERSION}-1.$([[ "$ASSET_ARCH" == "x64" ]] && echo "x86_64" || echo "aarch64").rpm"
|
||||
PKG_MANAGER="zypper"
|
||||
INSTALL_CMD="sudo zypper install -y"
|
||||
echo "🐧 Detected opensuse based distro"
|
||||
elif command -v pacman &> /dev/null; then
|
||||
echo "🐧 Detected arch based distro"
|
||||
|
||||
# Check if yay is installed
|
||||
if command -v yay &> /dev/null; then
|
||||
echo "✅ yay is already installed"
|
||||
else
|
||||
echo "ℹ️ yay not found, installing... (sudo required)"
|
||||
# Install yay
|
||||
sudo pacman -S --needed --noconfirm git base-devel
|
||||
cd /tmp
|
||||
git clone https://aur.archlinux.org/yay.git
|
||||
cd yay
|
||||
makepkg -si --noconfirm
|
||||
cd ~
|
||||
rm -rf /tmp/yay
|
||||
|
||||
if command -v yay &> /dev/null; then
|
||||
echo "✅ yay installed successfully"
|
||||
else
|
||||
echo "❌ Failed to install yay"
|
||||
echo "🛑 Installation aborted."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install NeoDLP from AUR using yay
|
||||
echo "📦 Installing NeoDLP from AUR using yay..."
|
||||
yay -S --noconfirm neodlp
|
||||
|
||||
echo "✅ Installed NeoDLP successfully!"
|
||||
exit 0
|
||||
else
|
||||
echo "❌ Unsupported distro: no supported package manager found (apt, dnf, yum, zypper, pacman)"
|
||||
echo "🛑 Installation aborted."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Construct the full download URL
|
||||
URL="https://github.com/$OWNER/$REPO/releases/download/$TAG/$ASSET_NAME"
|
||||
|
||||
# Download the release asset
|
||||
echo "⬇️ Downloading $ASSET_NAME from tag $TAG..."
|
||||
curl -L -o "$DOWNLOAD_DIR/$ASSET_NAME" "$URL"
|
||||
|
||||
# Install the package
|
||||
echo "📦 Installing $ASSET_NAME using $PKG_MANAGER (sudo required)"
|
||||
$INSTALL_CMD "$DOWNLOAD_DIR/$ASSET_NAME"
|
||||
|
||||
# Clean up the downloaded package
|
||||
echo "🧹 Cleaning up..."
|
||||
rm "$DOWNLOAD_DIR/$ASSET_NAME"
|
||||
|
||||
echo "✅ Installed NeoDLP successfully!"
|
||||
@@ -6,12 +6,17 @@ REPO="neodlp"
|
||||
DOWNLOAD_DIR=~/Downloads
|
||||
|
||||
# Check if NeoDLP is already installed
|
||||
echo "### === NeoDLP MacOS Curl-Bash Installer === ###"
|
||||
echo "🔃 Checking system requirements..."
|
||||
echo "### === NeoDLP Installer (MacOS) === ###"
|
||||
echo "🔍 Checking system requirements..."
|
||||
if [ -d "/Applications/NeoDLP.app" ]; then
|
||||
echo "❗ NeoDLP is already installed at /Applications/NeoDLP.app"
|
||||
read -p "❓ Would you like to reinstall/update? (y/N): " -n 1 -r
|
||||
echo
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
echo "🛑 Installation aborted."
|
||||
exit 0
|
||||
fi
|
||||
echo "🔄 Proceeding with reinstallation/update..."
|
||||
fi
|
||||
|
||||
# Detect system architecture
|
||||
@@ -46,6 +51,11 @@ tar -xzf "$ASSET_NAME"
|
||||
# Move the .app to /Applications directory
|
||||
APP_NAME="NeoDLP.app"
|
||||
echo "📦 Moving $APP_NAME to /Applications directory (sudo required)"
|
||||
# Remove existing installation if present
|
||||
if [ -d "/Applications/$APP_NAME" ]; then
|
||||
echo "🗑️ Removing existing installation..."
|
||||
sudo rm -rf "/Applications/$APP_NAME"
|
||||
fi
|
||||
sudo mv "$APP_NAME" /Applications/
|
||||
|
||||
# Clean up the downloaded archive
|
||||
@@ -16,7 +16,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
|
||||
<p className="text-sm text-muted-foreground">Released at: {new Date(release.pub_date).toLocaleString()} - <a className="hover:underline" href="https://github.com/neosubhamoy/neodlp/releases/latest" target="_blank">✨ Read Changelog</a></p>
|
||||
</div>
|
||||
<div className="flex flex-col items-center justify-center text-center gap-10 z-20">
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 justify-center items-center gap-4 mt-10">
|
||||
<div className="grid grid-cols-1 sm:flex sm:flex-wrap justify-center items-center gap-4 mt-10 sm:max-w-[70%] lg:max-w-[50%]">
|
||||
<SlidingButton
|
||||
slidingContent={
|
||||
<div className="flex items-center justify-center gap-2 text-white dark:text-black">
|
||||
@@ -177,7 +177,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
|
||||
</div>
|
||||
}
|
||||
as="a"
|
||||
href={release.platforms["linux-x86_64-aur"].url}
|
||||
href={release.platforms["linux-aarch64-deb"].url}
|
||||
target="_blank"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
@@ -186,7 +186,45 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
|
||||
</svg>
|
||||
Download for Linux
|
||||
</span>
|
||||
<span className="text-xs">(x64) AUR Snapshot</span>
|
||||
<span className="text-xs">(ARM64) DEB Package</span>
|
||||
</SlidingButton>
|
||||
<SlidingButton
|
||||
slidingContent={
|
||||
<div className="flex items-center justify-center gap-2 text-white dark:text-black">
|
||||
<Download className="size-4" />
|
||||
<span>Download Now</span>
|
||||
</div>
|
||||
}
|
||||
as="a"
|
||||
href={release.platforms["linux-aarch64-rpm"].url}
|
||||
target="_blank"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
<svg className="size-4 fill-white dark:fill-black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
||||
<path d="M220.8 123.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5 .2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4 .2-.8 .7-.6 1.1 .3 1.3 2.3 1.1 3.4 1.7zm-21.9 1.7c1.2 0 2-1.2 3-1.7 1.1-.6 3.1-.4 3.5-1.6 .2-.4-.2-.9-.6-1.1-1.6-.9-3.8-.6-5.5 .1-1.3 .6-3.4 1.5-3.2 2.9 .1 1 1.8 1.5 2.8 1.4zM420 403.8c-3.6-4-5.3-11.6-7.2-19.7-1.8-8.1-3.9-16.8-10.5-22.4-1.3-1.1-2.6-2.1-4-2.9-1.3-.8-2.7-1.5-4.1-2 9.2-27.3 5.6-54.5-3.7-79.1-11.4-30.1-31.3-56.4-46.5-74.4-17.1-21.5-33.7-41.9-33.4-72C311.1 85.4 315.7 .1 234.8 0 132.4-.2 158 103.4 156.9 135.2c-1.7 23.4-6.4 41.8-22.5 64.7-18.9 22.5-45.5 58.8-58.1 96.7-6 17.9-8.8 36.1-6.2 53.3-6.5 5.8-11.4 14.7-16.6 20.2-4.2 4.3-10.3 5.9-17 8.3s-14 6-18.5 14.5c-2.1 3.9-2.8 8.1-2.8 12.4 0 3.9 .6 7.9 1.2 11.8 1.2 8.1 2.5 15.7 .8 20.8-5.2 14.4-5.9 24.4-2.2 31.7 3.8 7.3 11.4 10.5 20.1 12.3 17.3 3.6 40.8 2.7 59.3 12.5 19.8 10.4 39.9 14.1 55.9 10.4 11.6-2.6 21.1-9.6 25.9-20.2 12.5-.1 26.3-5.4 48.3-6.6 14.9-1.2 33.6 5.3 55.1 4.1 .6 2.3 1.4 4.6 2.5 6.7v.1c8.3 16.7 23.8 24.3 40.3 23 16.6-1.3 34.1-11 48.3-27.9 13.6-16.4 36-23.2 50.9-32.2 7.4-4.5 13.4-10.1 13.9-18.3 .4-8.2-4.4-17.3-15.5-29.7zM223.7 87.3c9.8-22.2 34.2-21.8 44-.4 6.5 14.2 3.6 30.9-4.3 40.4-1.6-.8-5.9-2.6-12.6-4.9 1.1-1.2 3.1-2.7 3.9-4.6 4.8-11.8-.2-27-9.1-27.3-7.3-.5-13.9 10.8-11.8 23-4.1-2-9.4-3.5-13-4.4-1-6.9-.3-14.6 2.9-21.8zM183 75.8c10.1 0 20.8 14.2 19.1 33.5-3.5 1-7.1 2.5-10.2 4.6 1.2-8.9-3.3-20.1-9.6-19.6-8.4 .7-9.8 21.2-1.8 28.1 1 .8 1.9-.2-5.9 5.5-15.6-14.6-10.5-52.1 8.4-52.1zm-13.6 60.7c6.2-4.6 13.6-10 14.1-10.5 4.7-4.4 13.5-14.2 27.9-14.2 7.1 0 15.6 2.3 25.9 8.9 6.3 4.1 11.3 4.4 22.6 9.3 8.4 3.5 13.7 9.7 10.5 18.2-2.6 7.1-11 14.4-22.7 18.1-11.1 3.6-19.8 16-38.2 14.9-3.9-.2-7-1-9.6-2.1-8-3.5-12.2-10.4-20-15-8.6-4.8-13.2-10.4-14.7-15.3-1.4-4.9 0-9 4.2-12.3zm3.3 334c-2.7 35.1-43.9 34.4-75.3 18-29.9-15.8-68.6-6.5-76.5-21.9-2.4-4.7-2.4-12.7 2.6-26.4v-.2c2.4-7.6 .6-16-.6-23.9-1.2-7.8-1.8-15 .9-20 3.5-6.7 8.5-9.1 14.8-11.3 10.3-3.7 11.8-3.4 19.6-9.9 5.5-5.7 9.5-12.9 14.3-18 5.1-5.5 10-8.1 17.7-6.9 8.1 1.2 15.1 6.8 21.9 16l19.6 35.6c9.5 19.9 43.1 48.4 41 68.9zm-1.4-25.9c-4.1-6.6-9.6-13.6-14.4-19.6 7.1 0 14.2-2.2 16.7-8.9 2.3-6.2 0-14.9-7.4-24.9-13.5-18.2-38.3-32.5-38.3-32.5-13.5-8.4-21.1-18.7-24.6-29.9s-3-23.3-.3-35.2c5.2-22.9 18.6-45.2 27.2-59.2 2.3-1.7 .8 3.2-8.7 20.8-8.5 16.1-24.4 53.3-2.6 82.4 .6-20.7 5.5-41.8 13.8-61.5 12-27.4 37.3-74.9 39.3-112.7 1.1 .8 4.6 3.2 6.2 4.1 4.6 2.7 8.1 6.7 12.6 10.3 12.4 10 28.5 9.2 42.4 1.2 6.2-3.5 11.2-7.5 15.9-9 9.9-3.1 17.8-8.6 22.3-15 7.7 30.4 25.7 74.3 37.2 95.7 6.1 11.4 18.3 35.5 23.6 64.6 3.3-.1 7 .4 10.9 1.4 13.8-35.7-11.7-74.2-23.3-84.9-4.7-4.6-4.9-6.6-2.6-6.5 12.6 11.2 29.2 33.7 35.2 59 2.8 11.6 3.3 23.7 .4 35.7 16.4 6.8 35.9 17.9 30.7 34.8-2.2-.1-3.2 0-4.2 0 3.2-10.1-3.9-17.6-22.8-26.1-19.6-8.6-36-8.6-38.3 12.5-12.1 4.2-18.3 14.7-21.4 27.3-2.8 11.2-3.6 24.7-4.4 39.9-.5 7.7-3.6 18-6.8 29-32.1 22.9-76.7 32.9-114.3 7.2zm257.4-11.5c-.9 16.8-41.2 19.9-63.2 46.5-13.2 15.7-29.4 24.4-43.6 25.5s-26.5-4.8-33.7-19.3c-4.7-11.1-2.4-23.1 1.1-36.3 3.7-14.2 9.2-28.8 9.9-40.6 .8-15.2 1.7-28.5 4.2-38.7 2.6-10.3 6.6-17.2 13.7-21.1 .3-.2 .7-.3 1-.5 .8 13.2 7.3 26.6 18.8 29.5 12.6 3.3 30.7-7.5 38.4-16.3 9-.3 15.7-.9 22.6 5.1 9.9 8.5 7.1 30.3 17.1 41.6 10.6 11.6 14 19.5 13.7 24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4s5.9-6.3 3.1-6.6-2.6 2.6-6 5.1c-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2s-18.7-4.8-24.9-9.7c-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"/>
|
||||
</svg>
|
||||
Download for Linux
|
||||
</span>
|
||||
<span className="text-xs">(ARM64) RPM Package</span>
|
||||
</SlidingButton>
|
||||
<SlidingButton
|
||||
slidingContent={
|
||||
<div className="flex items-center justify-center gap-2 text-white dark:text-black">
|
||||
<Download className="size-4" />
|
||||
<span>Download Now</span>
|
||||
</div>
|
||||
}
|
||||
as="a"
|
||||
href={release.platforms["linux-x86_64+aarch64-aur"].url}
|
||||
target="_blank"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
<svg className="size-4 fill-white dark:fill-black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
||||
<path d="M220.8 123.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5 .2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4 .2-.8 .7-.6 1.1 .3 1.3 2.3 1.1 3.4 1.7zm-21.9 1.7c1.2 0 2-1.2 3-1.7 1.1-.6 3.1-.4 3.5-1.6 .2-.4-.2-.9-.6-1.1-1.6-.9-3.8-.6-5.5 .1-1.3 .6-3.4 1.5-3.2 2.9 .1 1 1.8 1.5 2.8 1.4zM420 403.8c-3.6-4-5.3-11.6-7.2-19.7-1.8-8.1-3.9-16.8-10.5-22.4-1.3-1.1-2.6-2.1-4-2.9-1.3-.8-2.7-1.5-4.1-2 9.2-27.3 5.6-54.5-3.7-79.1-11.4-30.1-31.3-56.4-46.5-74.4-17.1-21.5-33.7-41.9-33.4-72C311.1 85.4 315.7 .1 234.8 0 132.4-.2 158 103.4 156.9 135.2c-1.7 23.4-6.4 41.8-22.5 64.7-18.9 22.5-45.5 58.8-58.1 96.7-6 17.9-8.8 36.1-6.2 53.3-6.5 5.8-11.4 14.7-16.6 20.2-4.2 4.3-10.3 5.9-17 8.3s-14 6-18.5 14.5c-2.1 3.9-2.8 8.1-2.8 12.4 0 3.9 .6 7.9 1.2 11.8 1.2 8.1 2.5 15.7 .8 20.8-5.2 14.4-5.9 24.4-2.2 31.7 3.8 7.3 11.4 10.5 20.1 12.3 17.3 3.6 40.8 2.7 59.3 12.5 19.8 10.4 39.9 14.1 55.9 10.4 11.6-2.6 21.1-9.6 25.9-20.2 12.5-.1 26.3-5.4 48.3-6.6 14.9-1.2 33.6 5.3 55.1 4.1 .6 2.3 1.4 4.6 2.5 6.7v.1c8.3 16.7 23.8 24.3 40.3 23 16.6-1.3 34.1-11 48.3-27.9 13.6-16.4 36-23.2 50.9-32.2 7.4-4.5 13.4-10.1 13.9-18.3 .4-8.2-4.4-17.3-15.5-29.7zM223.7 87.3c9.8-22.2 34.2-21.8 44-.4 6.5 14.2 3.6 30.9-4.3 40.4-1.6-.8-5.9-2.6-12.6-4.9 1.1-1.2 3.1-2.7 3.9-4.6 4.8-11.8-.2-27-9.1-27.3-7.3-.5-13.9 10.8-11.8 23-4.1-2-9.4-3.5-13-4.4-1-6.9-.3-14.6 2.9-21.8zM183 75.8c10.1 0 20.8 14.2 19.1 33.5-3.5 1-7.1 2.5-10.2 4.6 1.2-8.9-3.3-20.1-9.6-19.6-8.4 .7-9.8 21.2-1.8 28.1 1 .8 1.9-.2-5.9 5.5-15.6-14.6-10.5-52.1 8.4-52.1zm-13.6 60.7c6.2-4.6 13.6-10 14.1-10.5 4.7-4.4 13.5-14.2 27.9-14.2 7.1 0 15.6 2.3 25.9 8.9 6.3 4.1 11.3 4.4 22.6 9.3 8.4 3.5 13.7 9.7 10.5 18.2-2.6 7.1-11 14.4-22.7 18.1-11.1 3.6-19.8 16-38.2 14.9-3.9-.2-7-1-9.6-2.1-8-3.5-12.2-10.4-20-15-8.6-4.8-13.2-10.4-14.7-15.3-1.4-4.9 0-9 4.2-12.3zm3.3 334c-2.7 35.1-43.9 34.4-75.3 18-29.9-15.8-68.6-6.5-76.5-21.9-2.4-4.7-2.4-12.7 2.6-26.4v-.2c2.4-7.6 .6-16-.6-23.9-1.2-7.8-1.8-15 .9-20 3.5-6.7 8.5-9.1 14.8-11.3 10.3-3.7 11.8-3.4 19.6-9.9 5.5-5.7 9.5-12.9 14.3-18 5.1-5.5 10-8.1 17.7-6.9 8.1 1.2 15.1 6.8 21.9 16l19.6 35.6c9.5 19.9 43.1 48.4 41 68.9zm-1.4-25.9c-4.1-6.6-9.6-13.6-14.4-19.6 7.1 0 14.2-2.2 16.7-8.9 2.3-6.2 0-14.9-7.4-24.9-13.5-18.2-38.3-32.5-38.3-32.5-13.5-8.4-21.1-18.7-24.6-29.9s-3-23.3-.3-35.2c5.2-22.9 18.6-45.2 27.2-59.2 2.3-1.7 .8 3.2-8.7 20.8-8.5 16.1-24.4 53.3-2.6 82.4 .6-20.7 5.5-41.8 13.8-61.5 12-27.4 37.3-74.9 39.3-112.7 1.1 .8 4.6 3.2 6.2 4.1 4.6 2.7 8.1 6.7 12.6 10.3 12.4 10 28.5 9.2 42.4 1.2 6.2-3.5 11.2-7.5 15.9-9 9.9-3.1 17.8-8.6 22.3-15 7.7 30.4 25.7 74.3 37.2 95.7 6.1 11.4 18.3 35.5 23.6 64.6 3.3-.1 7 .4 10.9 1.4 13.8-35.7-11.7-74.2-23.3-84.9-4.7-4.6-4.9-6.6-2.6-6.5 12.6 11.2 29.2 33.7 35.2 59 2.8 11.6 3.3 23.7 .4 35.7 16.4 6.8 35.9 17.9 30.7 34.8-2.2-.1-3.2 0-4.2 0 3.2-10.1-3.9-17.6-22.8-26.1-19.6-8.6-36-8.6-38.3 12.5-12.1 4.2-18.3 14.7-21.4 27.3-2.8 11.2-3.6 24.7-4.4 39.9-.5 7.7-3.6 18-6.8 29-32.1 22.9-76.7 32.9-114.3 7.2zm257.4-11.5c-.9 16.8-41.2 19.9-63.2 46.5-13.2 15.7-29.4 24.4-43.6 25.5s-26.5-4.8-33.7-19.3c-4.7-11.1-2.4-23.1 1.1-36.3 3.7-14.2 9.2-28.8 9.9-40.6 .8-15.2 1.7-28.5 4.2-38.7 2.6-10.3 6.6-17.2 13.7-21.1 .3-.2 .7-.3 1-.5 .8 13.2 7.3 26.6 18.8 29.5 12.6 3.3 30.7-7.5 38.4-16.3 9-.3 15.7-.9 22.6 5.1 9.9 8.5 7.1 30.3 17.1 41.6 10.6 11.6 14 19.5 13.7 24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4s5.9-6.3 3.1-6.6-2.6 2.6-6 5.1c-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2s-18.7-4.8-24.9-9.7c-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"/>
|
||||
</svg>
|
||||
Download for Linux
|
||||
</span>
|
||||
<span className="text-xs">(x64 / ARM64) AUR Snapshot</span>
|
||||
</SlidingButton>
|
||||
</div>
|
||||
<div className="flex items-center justify-center text-start max-w-2xl px-4">
|
||||
@@ -200,7 +238,7 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
|
||||
</div>
|
||||
</div>
|
||||
</BackgroundLines>
|
||||
<div className="flex flex-col items-center justify-center text-center gap-2 mt-10 z-20">
|
||||
<div className="flex flex-col items-center justify-center text-center gap-2 mt-10 sm:mt-65 z-20">
|
||||
<p className="mt-4 text-xl font-semibold">Install via Command Line</p>
|
||||
<p className="text-sm text-muted-foreground">Install NeoDLP directly via command line by running the command below based on your platform</p>
|
||||
</div>
|
||||
@@ -209,7 +247,10 @@ export default function AllDownloadsSection({ release }: { release: LatestReleas
|
||||
winget install neodlp
|
||||
</CommandSnippet>
|
||||
<CommandSnippet title="MacOS (Curl-Bash Installer)">
|
||||
curl -sSL https://neodlp.neosubhamoy.com/neodlp_macos_installer.sh | bash
|
||||
curl -sSL https://neodlp.neosubhamoy.com/macos_installer.sh | bash
|
||||
</CommandSnippet>
|
||||
<CommandSnippet title="Linux (Curl-Bash Installer)">
|
||||
curl -sSL https://neodlp.neosubhamoy.com/linux_installer.sh | bash
|
||||
</CommandSnippet>
|
||||
<CommandSnippet title="Arch Linux (AUR)">
|
||||
yay -S neodlp
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
import React, { useEffect, useRef, useState } from "react";
|
||||
import { useScroll, useTransform, motion, MotionValue } from "motion/react";
|
||||
import { ArrowRight, CircleArrowDown, Download, Puzzle } from "lucide-react";
|
||||
import { ArrowDownToLine, ArrowRight, Download, Puzzle } from "lucide-react";
|
||||
import { type LatestRelease } from "@/types/release";
|
||||
import { SlidingButton } from "@/components/ui/sliding-button";
|
||||
import { getOS } from "@/lib/utils";
|
||||
@@ -216,7 +216,7 @@ export const ContainerScroll = ({
|
||||
href="/download"
|
||||
>
|
||||
<span className="font-semibold flex items-center gap-2">
|
||||
<CircleArrowDown className="size-4" />
|
||||
<ArrowDownToLine className="size-4" />
|
||||
All Downloads
|
||||
</span>
|
||||
<span className="text-xs">Choose from all download options</span>
|
||||
|
||||
@@ -50,7 +50,15 @@ try {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP-${data.version}-1.x86_64.rpm`
|
||||
},
|
||||
"linux-x86_64-aur": {
|
||||
"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": {
|
||||
signature: "",
|
||||
url: `https://aur.archlinux.org/cgit/aur.git/snapshot/neodlp.tar.gz`
|
||||
}
|
||||
|
||||
@@ -52,7 +52,15 @@ try {
|
||||
signature: "",
|
||||
url: baseUrl + `NeoDLP-${data.version}-1.x86_64.rpm`
|
||||
},
|
||||
"linux-x86_64-aur": {
|
||||
"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": {
|
||||
signature: "",
|
||||
url: `https://aur.archlinux.org/cgit/aur.git/snapshot/neodlp.tar.gz`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user