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
7b59d177
Commit
7b59d177
authored
Apr 29, 2024
by
Daniel Hiltgen
Browse files
Fix relative path lookup
parent
95ead8ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gpu/assets.go
gpu/assets.go
+1
-1
No files found.
gpu/assets.go
View file @
7b59d177
...
@@ -40,7 +40,7 @@ func PayloadsDir() (string, error) {
...
@@ -40,7 +40,7 @@ func PayloadsDir() (string, error) {
}
}
var
paths
[]
string
var
paths
[]
string
for
_
,
root
:=
range
[]
string
{
appExe
,
cwd
}
{
for
_
,
root
:=
range
[]
string
{
filepath
.
Dir
(
appExe
)
,
cwd
}
{
paths
=
append
(
paths
,
paths
=
append
(
paths
,
filepath
.
Join
(
root
),
filepath
.
Join
(
root
),
filepath
.
Join
(
root
,
"windows-"
+
runtime
.
GOARCH
),
filepath
.
Join
(
root
,
"windows-"
+
runtime
.
GOARCH
),
...
...
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