mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-12 10:13:14 +00:00
12 lines
329 B
Diff
12 lines
329 B
Diff
--- a/discover/path.go
|
|
+++ b/discover/path.go
|
|
@@ -27,7 +27,7 @@
|
|
switch runtime.GOOS {
|
|
case "windows":
|
|
libPath = filepath.Join(filepath.Dir(exe), "lib", "ollama")
|
|
- case "linux":
|
|
+ case "linux", "android":
|
|
libPath = filepath.Join(filepath.Dir(exe), "..", "lib", "ollama")
|
|
case "darwin":
|
|
libPath = filepath.Dir(exe)
|