mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:27:19 +00:00
41 lines
1.2 KiB
Bash
Executable file
41 lines
1.2 KiB
Bash
Executable file
#!/bin/bash
|
|
# Build script for AeThex Launcher - Windows, Mac, and Linux
|
|
|
|
set -e
|
|
|
|
echo "🚀 Building AeThex Launcher for Desktop Platforms"
|
|
echo "=================================================="
|
|
|
|
# Check if Rust is installed
|
|
if ! command -v cargo &> /dev/null; then
|
|
echo "❌ Rust is not installed. Please install Rust from https://rustup.rs/"
|
|
exit 1
|
|
fi
|
|
|
|
# Check if Node.js is installed
|
|
if ! command -v node &> /dev/null; then
|
|
echo "❌ Node.js is not installed. Please install Node.js from https://nodejs.org/"
|
|
exit 1
|
|
fi
|
|
|
|
# Install dependencies
|
|
echo "📦 Installing Node.js dependencies..."
|
|
npm install
|
|
|
|
# Build the web application
|
|
echo "🔨 Building web application..."
|
|
npm run build
|
|
|
|
# Build Tauri application for current platform
|
|
echo "🏗️ Building Tauri desktop application..."
|
|
npm run tauri:build
|
|
|
|
echo ""
|
|
echo "✅ Build completed successfully!"
|
|
echo ""
|
|
echo "📦 Build artifacts can be found in:"
|
|
echo " - Windows: src-tauri/target/release/bundle/msi/"
|
|
echo " - macOS: src-tauri/target/release/bundle/dmg/"
|
|
echo " - Linux: src-tauri/target/release/bundle/deb/ or /appimage/"
|
|
echo ""
|
|
echo "🎉 AeThex Launcher is ready for distribution!"
|