From 21e2cf6881bc0d88817ee1b4ff5cc54ff51b14f1 Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 1 Sep 2020 17:16:42 +1000 Subject: [PATCH] added a build.sh because i'm lazy --- build.sh | 2 ++ readme.md | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..7a1c969 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +#!/bin/sh +mcs -pkg:gtk-sharp-3.0 -resource:ui.glade *.cs \ No newline at end of file diff --git a/readme.md b/readme.md index 08ee0b3..47aac28 100644 --- a/readme.md +++ b/readme.md @@ -5,12 +5,12 @@ i figured, may as well try and learn c# 0uo -## installing +## installing prerequisites 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 +### debian #### mono the packages you'll need are `mono-devel` and `gtk-sharp3`, so: ``` @@ -19,7 +19,7 @@ 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 +### arch linux #### mono ``` sudo pacman -S mono gtk-sharp-3 @@ -29,7 +29,7 @@ sudo pacman -S mono gtk-sharp-3 sudo pacman -S dotnet-sdk ``` -### installing on windows +### 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)