-
Notifications
You must be signed in to change notification settings - Fork 3
Debian 10
Morten Møller edited this page Jun 19, 2021
·
1 revision
Found this tutorial on Microsoft's website: https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian#debian-10-
wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-5.0
Once that's done, go ahead and clone the project, then compile your binary:
git clone https://github.com/mortenmoulder/TwitchClipper.git
cd TwitchClipper
dotnet publish -c Release -o publish -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true --runtime linux-x64 TwitchClipper.sln
cd publish
./TwitchClipper -u TWITCH_USERNAME