mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-02 00:56:39 +02:00
- Corrected autohotkey/choco install script, added setup for powershell
This commit is contained in:
1
setup.ps1
Normal file
1
setup.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Add-AppxPackage -register "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2241.0_x64__qbz5n2kfra8p0\AppxManifest.xml" -DisableDevelopmentMode
|
@@ -1,10 +1,9 @@
|
|||||||
$testchoco = powershell choco -v
|
if(-not(Get-Command "choco" -errorAction SilentlyContinue)){
|
||||||
if(-not($testchoco)){
|
|
||||||
Write-Output "Seems Chocolatey is not installed, installing now"
|
Write-Output "Seems Chocolatey is not installed, installing now"
|
||||||
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
Write-Output "Chocolatey Version $testchoco is already installed"
|
Write-Output "Chocolatey is already installed"
|
||||||
}
|
}
|
||||||
|
|
||||||
if(-not(test-path "C:\Program Files\AutoHotkey\AutoHotkey.exe")){
|
if(-not(test-path "C:\Program Files\AutoHotkey\AutoHotkey.exe")){
|
||||||
|
Reference in New Issue
Block a user