mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:27:19 +00:00
1.9 KiB
1.9 KiB
🚀 Quick Start - Tauri Desktop App
Test Your Setup
Run the desktop app in development mode:
npm run tauri:dev
This will:
- ✅ Build the Rust backend
- ✅ Start Vite dev server on port 5000
- ✅ Open AeThex-OS in a native window with hot-reload
Common Commands
| Command | Description |
|---|---|
npm run tauri:dev |
Run desktop app (development) |
npm run tauri:build |
Build desktop app for production |
npm run dev:client |
Run web version (frontend only) |
npm run dev |
Run backend server |
What Changed?
New Files
src-tauri/- Tauri Rust applicationsrc/main.rs- Entry pointsrc/lib.rs- Application logictauri.conf.json- ConfigurationCargo.toml- Rust dependenciesicons/- Application icons
Modified Files
package.json- Added Tauri scripts- Configuration points to your Vite build
Next Steps
- Test the app:
npm run tauri:dev - Build for your platform:
npm run tauri:build - Customize icons: Replace files in
src-tauri/icons/ - Add native features: See TAURI_SETUP.md
Troubleshooting
"Rust not found"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
"Dependencies missing" (Linux)
sudo apt install libwebkit2gtk-4.1-dev build-essential
First build is slow
The first tauri:dev or tauri:build compiles all Rust dependencies. Subsequent builds are much faster.
Platform-Specific Builds
Build for your current platform:
npm run tauri:build
Outputs:
- Linux:
src-tauri/target/release/bundle/deb/and.appimage - macOS:
src-tauri/target/release/bundle/dmg/and.app - Windows:
src-tauri/target/release/bundle/msi/and.exe
Your AeThex-OS is now a desktop app! 🎉
See TAURI_SETUP.md for detailed documentation.