diff --git a/README.org b/README.org index 4164e78..6cefdc6 100644 --- a/README.org +++ b/README.org @@ -88,7 +88,7 @@ Windows users: Run powershell as administrator #+BEGIN_SRC powershell - Powershell -c "iwr https://raw.githubusercontent.com/black7375/Firefox-UI-Fix/master/install.ps1 -useb | iex" + Powershell -c "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://raw.githubusercontent.com/black7375/Firefox-UI-Fix/master/install.ps1 -useb | iex" #+END_SRC *Manual Installation* diff --git a/install.ps1 b/install.ps1 index 486c7dc..9132fe2 100644 --- a/install.ps1 +++ b/install.ps1 @@ -95,6 +95,7 @@ function Install-Choco() { Set-ExecutionPolicy Bypass -Scope Process -Force [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) + $env:Path += ";C:\ProgramData\chocolatey" } function Check-Git() { @@ -103,6 +104,7 @@ function Check-Git() { Install-Choco } choco install git -y + $env:Path += ";C:\Program Files\Git\bin" } Lepton-OKMessage "Required - git"