1
0
Files
Toak/install.sh

13 lines
381 B
Bash
Executable File

#!/bin/bash
# Exit immediately if a command exits with a non-zero status
set -e
echo "Building Toak Native AOT executable..."
dotnet publish -c Release -r linux-x64
echo "Installing to /usr/bin/toak... (This may prompt for your sudo password)"
sudo cp bin/Release/net10.0/linux-x64/publish/Toak /usr/bin/toak
echo "Installation complete! You can now run 'toak' from anywhere."