From cdc77d2e266f35a651c2284c1e25be0cebb39499 Mon Sep 17 00:00:00 2001 From: Piotr Date: Sun, 12 May 2024 19:37:50 +0200 Subject: [PATCH] Add Windows installation instructions and script This commit introduces support for Windows. It adds a new PowerShell script for installing the application on Windows and updates the README file to include Windows-specific installation instructions. --- README.md | 6 ++++++ build.ps1 | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 build.ps1 diff --git a/README.md b/README.md index e925b91..60acd18 100644 --- a/README.md +++ b/README.md @@ -83,11 +83,17 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/PiotrFerenc/mash2/main - [docker-compose](https://docs.docker.com/compose/install/) - [GO](https://go.dev/doc/install) + Linux: ```shell wget https://raw.githubusercontent.com/PiotrFerenc/mash2/main/build.sh && chmod +x build.sh && ./build.sh ``` +Windows: +```powershell +Invoke-WebRequest -Uri "https://raw.githubusercontent.com/PiotrFerenc/mash2/main/build.ps1" -OutFile "build.ps1"; Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force; ./build.ps1 +``` + ## Usage ```shell diff --git a/build.ps1 b/build.ps1 new file mode 100644 index 0000000..e35824a --- /dev/null +++ b/build.ps1 @@ -0,0 +1,3 @@ +git clone https://github.com/PiotrFerenc/mash2 +cd mash2 +make docker-rebuild \ No newline at end of file