diff --git a/readme.md b/readme.md index a525d3b..9e902b2 100644 --- a/readme.md +++ b/readme.md @@ -19,30 +19,11 @@ sudo apt install mono-devel gtk-sharp3 sudo pacman -S mono gtk-sharp-3 ``` -### installing on windows 10 -- first you need mono and msys2. - - **chocolatey:** `choco install mono msys2` - - **otherwise:** download and install mono from [here](https://www.mono-project.com/download/stable/#download-win), and *don't* install gtk#. then, install msys2 from [here](https://www.msys2.org/). -- then, open msys2 and run `pacman -Syu mingw-w64-x86_64-gtk3`. -- now you need gtk sharp 3, but you need the dotnet sdk to install it. download and install ".NET Core SDK" from [this page](https://dotnet.microsoft.com/download). -- add msys2's mingw `bin` folder (and mono's `bin` folder if required) to your $PATH: - - open control panel - - click "system and security" - - click "system" - - click "advanced system settings" - - choose the "advanced" tab - - click "environment variables..." - - in the "system variables" box (the bottom one), find the variable named "Path", click it, then click the edit button - - click "new" - - type in the full path to your msys2 mingw `bin` folder. for me, this path was `C:\tools\msys64\mingw64\bin`, but it may be different for you. - - if mono is not currently on your $PATH, you'll also need to add its bin folder here - for me, this path was `C:\Program Files\Mono\bin`. - - click "ok" -- open a new command prompt/powershell window to ensure environment variables get updated. -- `cd` to the folder you downloaded buypeeb into. -- run `dotnet restore` -- mono's `pkg-config` is broken because they forgot to link against a few DLLs, which is just great, so you'll need to download [this zip file](https://cloud.lynnesbian.space/s/qDB2cM7rgWoSXtK), extract it, and copy the four dll files inside it to your mono bin path, which is probably `C:\Program Files\Mono\bin`. -- fixing `pkg-config` will allow you to compile the project +### 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 ## compiling ### linux