feat: Add Native AOT compilation and source-generated JSON serialization, streamline CLI arguments, and remove translation functionality.
This commit is contained in:
12
install.sh
Executable file
12
install.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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."
|
||||
Reference in New Issue
Block a user