docs(readme): update Windows instructions
This commit is contained in:
parent
ab9ba9b95e
commit
2e026af79c
1 changed files with 13 additions and 9 deletions
22
README.md
22
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue