From f952f8c8913807c65d656ceb910fd30935ca1906 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Thu, 28 Nov 2024 15:11:16 +0100 Subject: [PATCH] elaborate yet safe installation commands --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bf9bf6a..2245ce9 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,9 @@ Alternatively, feel free to run the [install script](./install_windows.ps1) afte cloning the repository or directly execute it from shell: ```pwsh -# Using 'Invoke-RestMethod' and 'Invoke-Expression' -irm 'https://raw.githubusercontent.com/Baipyrus/dotfiles/main/install_windows.ps1' | iex +irm https://api.github.com/repos/Baipyrus/dotfiles/zipball -O "$env:TMP\dotfiles.zip" +Expand-Archive "$env:TMP\dotfiles.zip" -D "$env:TMP\dotfiles" -F +gci "$env:TMP\dotfiles\**\install_windows.ps1" | % { + saps powershell.exe -Wait -Wo $_.DirectoryName -A "-Ex", "Bypass", "-F", $_.FullName +} ```