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:
nathaninline committed 2026-08-07 16:57:52 +02:00
1 parent 2455d9f402
commit 6de356f649
9 files changed
+93 -240

No files matched your search

+1 -4
View File
@@ -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"))