mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-23 15:08:16 +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
@@ -60,11 +60,8 @@ func workspaceCandidates() []string {
|
||||
if v := strings.TrimSpace(os.Getenv(workspaceEnv)); v != "" {
|
||||
c = append(c, v)
|
||||
}
|
||||
c = append(c, filepath.Join(AjeanHome(), "workspace"))
|
||||
c = append(c, workspaceDir())
|
||||
if home, err := os.UserHomeDir(); err == nil && home != "" {
|
||||
// Le nouveau nom d'abord, l'ancien ensuite : un dossier ~/ajean/workspace
|
||||
// déjà rempli par l'agent reste utilisable au lieu de repartir de zéro.
|
||||
c = append(c, filepath.Join(home, "ajean", "workspace"))
|
||||
c = append(c, filepath.Join(home, "ajean", "workspace"))
|
||||
}
|
||||
c = append(c, filepath.Join(os.TempDir(), "ajean-workspace"))
|
||||
|
||||
Reference in new issue
Block a user