mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-24 07:28:13 +02:00
Arborescence unifiee et installateurs simplifies
- provisionDataDir unique pour les trois plateformes (six dossiers, config par defaut) - plus de modele config.env duplique dans chaque installateur - plus d'alias jean pose a l'installation
This commit is contained in:
1 parent
2455d9f402
commit
6de356f649
9 files changed
+93
-240
No files matched your search
@@ -82,7 +82,7 @@ func llamacppRepoDir() string {
|
||||
}
|
||||
|
||||
func defaultRepoDir() string {
|
||||
return filepath.Join(AjeanHome(), "backends", "llama.cpp")
|
||||
return filepath.Join(backendsDir(), "llama.cpp")
|
||||
}
|
||||
|
||||
// findRepoRoot walks up from a binary path (…/build/bin/llama-server) looking
|
||||
@@ -510,7 +510,7 @@ func sanitizeBackendName(name string) string {
|
||||
// dossier backends (../, chemin absolu…).
|
||||
func backendDir(name string) (string, error) {
|
||||
name = sanitizeBackendName(name)
|
||||
root, err := filepath.Abs(filepath.Join(AjeanHome(), "backends"))
|
||||
root, err := filepath.Abs(backendsDir())
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user