summaryrefslogtreecommitdiff
path: root/TRIDACTYL-CONFIG.md
diff options
context:
space:
mode:
authorertopogo <erwin.t.pombett@gmail.com>2025-11-26 04:02:41 +0100
committerertopogo <erwin.t.pombett@gmail.com>2025-11-26 04:02:41 +0100
commitfb7b2389c33bef903f236f4dd0c0b98dfc0bbbe8 (patch)
treeaa61a9026da508e865ab19b38677be523c961891 /TRIDACTYL-CONFIG.md
parent0f1ba5af1684cfc64b3ff5374ef95c70df1caac0 (diff)
Feat: Ajout de la configuration Tridactyl (Native Messenger + .tridactylrc) et scripts de maintenance
Diffstat (limited to 'TRIDACTYL-CONFIG.md')
-rw-r--r--TRIDACTYL-CONFIG.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/TRIDACTYL-CONFIG.md b/TRIDACTYL-CONFIG.md
new file mode 100644
index 0000000..3e3677b
--- /dev/null
+++ b/TRIDACTYL-CONFIG.md
@@ -0,0 +1,44 @@
+# Configuration Tridactyl
+
+Ce guide explique comment configurer Tridactyl et vérifier que la configuration est bien prise en compte.
+
+## Structure des fichiers
+
+Pour une installation propre, tous les fichiers du Native Messenger sont regroupés dans le dossier de configuration de Firefox.
+
+### 1. Native Messenger (`native_main.exe` et `tridactyl.json`)
+
+**Emplacement :** `%APPDATA%\Mozilla\NativeMessagingHosts\`
+
+- `tridactyl.json` : Le manifest qui dit à Firefox où trouver l'exécutable.
+- `native_main.exe` : Le programme qui fait le lien avec le système.
+
+Ces fichiers sont synchronisés dans le projet :
+- Source : `%APPDATA%\Mozilla\NativeMessagingHosts\tridactyl.json`
+- Projet : `configs\windows\var_APPDATA_Mozilla_NativeMessagingHosts_tridactyl.json`
+
+*(Note : L'exécutable `native_main.exe` n'est pas synchronisé dans git car c'est un binaire, mais il doit être présent sur la machine)*
+
+### 2. Configuration Utilisateur (`.tridactylrc`)
+
+**Emplacement :** `%USERPROFILE%\.tridactylrc`
+
+Ce fichier contient vos personnalisations (raccourcis, thèmes, etc.).
+
+Synchronisé dans le projet :
+- Source : `%USERPROFILE%\.tridactylrc`
+- Projet : `configs\windows\var_USERPROFILE_.tridactylrc`
+
+## Installation / Restauration
+
+Si vous installez sur une nouvelle machine :
+
+1. Copiez `native_main.exe` (à télécharger depuis le dépôt Tridactyl) dans `%APPDATA%\Mozilla\NativeMessagingHosts\`.
+2. Exécutez le script de restauration du projet pour placer `tridactyl.json` et `.tridactylrc` :
+ ```powershell
+ .\scripts\sync-from-project.ps1
+ ```
+
+## Vérification
+
+Dans Firefox, tapez `:native` pour confirmer que le Native Messenger fonctionne. Il devrait afficher la version et le chemin vers l'exécutable.