mirror of
https://github.com/YuuKi-OS/Yuu-Box.git
synced 2026-02-18 21:51:10 +00:00
pos nomas
This commit is contained in:
23
install.sh
Executable file
23
install.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "Installing YuuBox..."
|
||||
|
||||
# Install Rust if not present
|
||||
if ! command -v cargo &> /dev/null; then
|
||||
echo "Installing Rust..."
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
source $HOME/.cargo/env
|
||||
fi
|
||||
|
||||
# Install maturin
|
||||
pip install maturin
|
||||
|
||||
# Build and install
|
||||
./build.sh
|
||||
|
||||
echo ""
|
||||
echo "✅ Installation complete!"
|
||||
echo ""
|
||||
echo "Test with:"
|
||||
echo " yuubox run examples/basic_usage.py"
|
||||
Reference in New Issue
Block a user