update chocolatey
This commit is contained in:
parent
1def7a260c
commit
51186e0341
2 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# Define the package arguments
|
||||
$packageArgs = @{
|
||||
packageName = $env:ChocolateyPackageName
|
||||
unzipLocation = Join-Path $env:LOCALAPPDATA 'com.toki-labs.oto'
|
||||
unzipLocation = Join-Path $env:LOCALAPPDATA 'com.toki-labs.oto' 'startup'
|
||||
url = 'http://toki-labs.com/cdn/oto/windows/oto_x64_v[VERSION].zip'
|
||||
url64bit = 'http://toki-labs.com/cdn/oto/windows/oto_x64_v[VERSION].zip'
|
||||
checksum = '' # Optional: Provide checksum if available
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Set-ExecutionPolicy Bypass -Scope Process -Force; \
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force;
|
||||
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
|
||||
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
|
||||
|
||||
choco source add -n="oto" -s="http://toki-labs.com:5001/v3/index.json"
|
||||
choco install oto --source="oto"
|
||||
choco install oto --source="oto" --force
|
||||
Loading…
Reference in a new issue