From 501053b087fbf096511198bcfede1ae8390ea94f Mon Sep 17 00:00:00 2001 From: Lynnesbian Date: Tue, 1 Sep 2020 17:12:58 +1000 Subject: [PATCH] even more gooder readme --- readme.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 9e902b2..08ee0b3 100644 --- a/readme.md +++ b/readme.md @@ -6,41 +6,51 @@ i figured, may as well try and learn c# 0uo ## installing -you need [mono](https://www.mono-project.com/download/stable/) and [gtk sharp 3](https://github.com/GtkSharp/GtkSharp/) +you will need either: +- [mono](https://www.mono-project.com/download/stable/) and [gtk sharp 3](https://github.com/GtkSharp/GtkSharp/) +- [dotnet core sdk](https://dotnet.microsoft.com/) ### installing on debian +#### mono the packages you'll need are `mono-devel` and `gtk-sharp3`, so: ``` sudo apt install mono-devel gtk-sharp3 ``` +#### dotnet +follow [these instructions](https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian) to add the dotnet repo and install dotnet-sdk. ### installing on arch +#### mono ``` sudo pacman -S mono gtk-sharp-3 ``` +#### dotnet +``` +sudo pacman -S dotnet-sdk +``` ### installing on windows - download and install ".NET Core SDK" from [this page](https://dotnet.microsoft.com/download) - run `dotnet build` - this *should* pull in gtk3 automatically - if not, you'll need to [install it yourself](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/latest) -this will install and use .NET core instead of mono but as far as i know it should be fine +this will install and use .NET core instead of mono but as far as i know it should be fine. don't try to use mono or you will die ## compiling -### linux +### mono ``` mcs -pkg:gtk-sharp-3.0 -resource:ui.glade *.cs ``` -### windows +### dotnet ``` dotnet build ``` ## running -### linux +### mono ``` mono ./BuypeebApp.exe ``` -### windows +### dotnet ``` dotnet run ```