Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
40bc4622
Commit
40bc4622
authored
Apr 26, 2024
by
Daniel Hiltgen
Browse files
Fix exe name for zip packaging on windows
The zip file encodes the OS and architecture, so keep the short exe name
parent
c0f818a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/build_windows.ps1
scripts/build_windows.ps1
+1
-1
No files found.
scripts/build_windows.ps1
View file @
40bc4622
...
@@ -82,7 +82,7 @@ function buildOllama() {
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment