#!/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