mirror of
https://github.com/ollama/ollama.git
synced 2026-04-26 02:36:09 +02:00
Merge github.com:ollama/ollama into vulkan
This commit is contained in:
@@ -290,12 +290,3 @@ func Values() map[string]string {
|
||||
func Var(key string) string {
|
||||
return strings.Trim(strings.TrimSpace(os.Getenv(key)), "\"'")
|
||||
}
|
||||
|
||||
// On windows, we keep the binary at the top directory, but
|
||||
// other platforms use a "bin" directory, so this returns ".."
|
||||
func LibRelativeToExe() string {
|
||||
if runtime.GOOS == "windows" {
|
||||
return "."
|
||||
}
|
||||
return ".."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user