-
-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
@echo off | ||
echo This script will install Scoop and the dependencies required by WingetUI. | ||
pause | ||
powershell -NoProfile -Command "Set-ExecutionPolicy RemoteSigned -Scope CurrentUser" | ||
echo Installing scoop... | ||
powershell -NoProfile -Command "iex ""& {$(irm get.scoop.sh)} -RunAsAdmin""" | ||
echo Installing git... | ||
powershell -NoProfile -Command "scoop install git" | ||
echo Done! | ||
powershell -ExecutionPolicy ByPass -File "%~dp0\install_scoop.ps1" | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Write-Output "Installing scoop..." | ||
|
||
Invoke-Expression "& {$(Invoke-RestMethod get.scoop.sh)}" | ||
|
||
If (-Not (Get-Command git -ErrorAction SilentlyContinue)) { | ||
Write-Output "Installing git..." | ||
scoop install git | ||
} | ||
|
||
Write-Output "Done!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters