Fix exe name for zip packaging on windows

The zip file encodes the OS and architecture, so keep the short exe name
This commit is contained in:
Daniel Hiltgen 2024-04-26 09:16:53 -07:00
parent c0f818a07a
commit 40bc4622ef

View file

@ -82,7 +82,7 @@ function buildOllama() {
if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)} if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}
} }
New-Item -ItemType Directory -Path .\dist\windows-amd64\ -Force 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() { function buildApp() {