From 51186e0341456254ea54f940fefe228b424d904c Mon Sep 17 00:00:00 2001 From: "leedongmyung(desktop)" Date: Mon, 8 Sep 2025 10:31:18 +0900 Subject: [PATCH] update chocolatey --- assets/package/chocolateyinstall_template.ps1 | 2 +- assets/package/oto_install.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/package/chocolateyinstall_template.ps1 b/assets/package/chocolateyinstall_template.ps1 index 6d6c5af..62e74a1 100644 --- a/assets/package/chocolateyinstall_template.ps1 +++ b/assets/package/chocolateyinstall_template.ps1 @@ -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 diff --git a/assets/package/oto_install.ps1 b/assets/package/oto_install.ps1 index c1c94ed..a29d198 100644 --- a/assets/package/oto_install.ps1 +++ b/assets/package/oto_install.ps1 @@ -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" \ No newline at end of file +choco install oto --source="oto" --force \ No newline at end of file