Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
restore windows build flags and compression
Jeffrey Morgan275ea0158752
diff --git a/app/ollama.iss b/app/ollama.issindex 2d4ec95f3..604def045 100644--- a/app/ollama.iss+++ b/app/ollama.iss@@ -37,7 +37,7 @@ PrivilegesRequired=lowestOutputBaseFilename="OllamaSetup"SetupIconFile={#MyIcon}UninstallDisplayIcon={uninstallexe}-Compression=zip+Compression=lzma2SolidCompression=noWizardStyle=modernChangesEnvironment=yesdiff --git a/scripts/build_windows.ps1 b/scripts/build_windows.ps1index fc8804c23..ac8e10a28 100644--- a/scripts/build_windows.ps1+++ b/scripts/build_windows.ps1@@ -53,7 +53,7 @@ function buildOllama() {write-host "Building ollama CLI"& go generate ./...if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}- & go build -ldflags "-X=github.com/jmorganca/ollama/version.Version=$script:VERSION -X=github.com/jmorganca/ollama/server.mode=release" .+ & go build -ldflags "-s -w -X=github.com/jmorganca/ollama/version.Version=$script:VERSION -X=github.com/jmorganca/ollama/server.mode=release" .if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}if ("${env:KEY_CONTAINER}") {& "${script:SignTool}" sign /v /fd sha256 /t http://timestamp.digicert.com /f "${script:OLLAMA_CERT}" `@@ -68,7 +68,7 @@ function buildApp() {write-host "Building Ollama App"cd "${script:SRC_DIR}\app"& windres -l 0 -o ollama.syso ollama.rc- & go build -ldflags "-H windowsgui -X=github.com/jmorganca/ollama/version.Version=$script:VERSION -X=github.com/jmorganca/ollama/server.mode=release" .+ & go build -ldflags "-s -w -H windowsgui -X=github.com/jmorganca/ollama/version.Version=$script:VERSION -X=github.com/jmorganca/ollama/server.mode=release" .if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}if ("${env:KEY_CONTAINER}") {& "${script:SignTool}" sign /v /fd sha256 /t http://timestamp.digicert.com /f "${script:OLLAMA_CERT}" `