mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-30 12:20:36 -08:00
Fix: Install - Powershell permission, path setting #147
This commit is contained in:
parent
6d86cb918f
commit
85bf9fa08f
2 changed files with 3 additions and 1 deletions
|
|
@ -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*
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue