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
6d3152a9
"vscode:/vscode.git/clone" did not exist on "f35ad4618bbba732f4aa02c3b7ab7182a5df9e70"
Commit
6d3152a9
authored
Apr 26, 2024
by
Hernan Martinez
Browse files
Use architecture specific folders in installer script
parent
b438d485
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/ollama.iss
app/ollama.iss
+2
-2
scripts/build_windows.ps1
scripts/build_windows.ps1
+2
-2
No files found.
app/ollama.iss
View file @
6d3152a9
...
...
@@ -88,8 +88,8 @@ DialogFontSize=12
[Files]
Source: ".\app.exe"; DestDir: "{app}"; DestName: "{#MyAppExeName}" ; Flags: ignoreversion 64bit
Source: "..\ollama.exe"; DestDir: "{app}"; Flags: ignoreversion 64bit
Source: "..\dist\windows-
amd64
\*.dll"; DestDir: "{app}"; Flags: ignoreversion 64bit
Source: "..\dist\windows-
amd64
\ollama_runners\*"; DestDir: "{app}\ollama_runners"; Flags: ignoreversion 64bit recursesubdirs
Source: "..\dist\windows-
{#ARCH}
\*.dll"; DestDir: "{app}"; Flags: ignoreversion 64bit
Source: "..\dist\windows-
{#ARCH}
\ollama_runners\*"; DestDir: "{app}\ollama_runners"; Flags: ignoreversion 64bit recursesubdirs
Source: "..\dist\ollama_welcome.ps1"; DestDir: "{app}"; Flags: ignoreversion
Source: ".\assets\app.ico"; DestDir: "{app}"; Flags: ignoreversion
#if DirExists("..\dist\windows-amd64\rocm")
...
...
scripts/build_windows.ps1
View file @
6d3152a9
...
...
@@ -129,9 +129,9 @@ function buildInstaller() {
cd
"
${script:SRC_DIR}
\app"
$
env
:
PKG_VERSION
=
$
script
:
PKG_VERSION
if
(
"
${env:KEY_CONTAINER}
"
)
{
&
"
${script:INNO_SETUP_DIR}
\ISCC.exe"
/SMySignTool
=
"
${script:SignTool}
sign /fd sha256 /t http://timestamp.digicert.com /f
${script:OLLAMA_CERT}
/csp
`$
qGoogle Cloud KMS Provider
`$
q /kc
${env:KEY_CONTAINER}
`$
f"
.
\ollama.iss
&
"
${script:INNO_SETUP_DIR}
\ISCC.exe"
/DARCH
=
$
script
:
TARGET_ARCH
/SMySignTool
=
"
${script:SignTool}
sign /fd sha256 /t http://timestamp.digicert.com /f
${script:OLLAMA_CERT}
/csp
`$
qGoogle Cloud KMS Provider
`$
q /kc
${env:KEY_CONTAINER}
`$
f"
.
\ollama.iss
}
else
{
&
"
${script:INNO_SETUP_DIR}
\ISCC.exe"
.
\ollama.iss
&
"
${script:INNO_SETUP_DIR}
\ISCC.exe"
/DARCH
=
$
script
:
TARGET_ARCH
.
\ollama.iss
}
if
(
$LASTEXITCODE
-ne
0
)
{
exit
(
$LASTEXITCODE
)}
}
...
...
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