From 2e026af79c0c5fd30f7f20438e99e9a47298814a Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sat, 12 Aug 2023 10:56:57 +0200 Subject: [PATCH] docs(readme): update Windows instructions --- README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 50f18e9..94543f2 100644 --- a/README.md +++ b/README.md @@ -40,21 +40,25 @@ and the man-page with the `instalee-git` AUR package. #### Windows -Online install for Windows: - -Run this in an administrative powershell: +You can easily install instalee and its dependencies on Windows +by running the following in an administrative powershell: ``` powershell Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) choco feature enable -n allowGlobalConfirmation choco install git -Start-Process -Wait "C:\Program Files\Git\git-bash.exe" -Verb runAs -ArgumentList "-c 'git clone https://github.com/xeruf/instalee; cd instalee && git pull && ./instalee win/work; sleep 10 || bash'" +Start-Process -Wait "C:\Program Files\Git\git-bash.exe" -Verb runAs -ArgumentList "-c 'git clone https://github.com/xeruf/instalee; cd instalee && git pull && ./instalee win/office; sleep 10 || bash'" ``` -See https://chocolatey.org/install#install-step2 +This combines [the installation of chocolatey](https://chocolatey.org/install#install-step2) +with the helper script [i.ps1](./i.ps1). -An install helper for Windows, -that prepares chocolatey either on- and offline -and installs git bash, is in the works. -See [i.ps1](./i.ps1). +It then installs the win/office group +made up of packages useful to almost anyone. +To install further packages, +open git bash in the created instalee directory +and run `./instalee PACKAGE`. + +An offline version is possible as well +but I did not get around to publishing it yet, just ask :) ### Configuration