29e90cc13b
This focuses on Windows first, but coudl be used for Mac and possibly linux in the future.
13 lines
229 B
Go
13 lines
229 B
Go
package store
|
|
|
|
import (
|
|
"os"
|
|
"path/filepath"
|
|
)
|
|
|
|
func getStorePath() string {
|
|
// TODO - system wide location?
|
|
|
|
home := os.Getenv("HOME")
|
|
return filepath.Join(home, "Library", "Application Support", "Ollama", "config.json")
|
|
}
|