From 40bc4622ef837627034e7ad0d64b646c7bfbf07a Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Fri, 26 Apr 2024 09:16:53 -0700 Subject: [PATCH] Fix exe name for zip packaging on windows The zip file encodes the OS and architecture, so keep the short exe name --- scripts/build_windows.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_windows.ps1 b/scripts/build_windows.ps1 index 1131de37..7db56887 100644 --- a/scripts/build_windows.ps1 +++ b/scripts/build_windows.ps1 @@ -82,7 +82,7 @@ function buildOllama() { if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)} } New-Item -ItemType Directory -Path .\dist\windows-amd64\ -Force - cp .\ollama.exe .\dist\windows-amd64\ollama-windows-amd64.exe + cp .\ollama.exe .\dist\windows-amd64\ } function buildApp() {