1
0

initial commit

This commit is contained in:
2026-03-04 07:59:35 +01:00
commit 3ceb0e4884
27 changed files with 2280 additions and 0 deletions

20
installer.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
set -e
echo "Publishing project..."
dotnet publish -c Release -r linux-x64 -o ./publish
echo "Finding binary..."
BINARY=$(find ./publish -type f -name "anchor" | head -n 1)
if [ -z "$BINARY" ]; then
echo "Error: Could not find binary in ./publish"
exit 1
fi
echo "Found binary: $BINARY"
echo "Copying to /usr/bin..."
sudo cp "$BINARY" /usr/bin/
echo "Installation complete!"