Added publish script

This commit is contained in:
mdnapo 2024-05-04 15:03:12 +02:00
parent 5d3d3173d9
commit 62a44cedb3
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/usr/bin/bash
# Make sure to run this script form the MyrcoForge.CLI directory with sudo!
dotnet publish --self-contained -r linux-x64
sudo cp bin/Release/net8.0/linux-x64 /usr/share/m4g
sudo ln -s /usr/share/m4g/MycroForge.CLI /usr/bin/local/m4g