Przeglądaj źródła

docs(README): add instructions to manually add token on windows

ayn2op 10 miesięcy temu
rodzic
commit
b1e30d2ef6
1 zmienionych plików z 10 dodań i 2 usunięć
  1. 10 2
      README.md

+ 10 - 2
README.md

@@ -73,12 +73,20 @@ Do this if you get the error:
 
 > failed to get token from keyring: secret not found in keyring
 
+#### Windows
+
+Run the following command in a terminal window. Replace `YOUR_DISCORD_TOKEN` with your authentication token.
+
+```sh
+cmdkey /add:discordo /user:token /pass:YOUR_DISCORD_TOKEN
+```
+
 #### MacOS
 
-Run the following command in a terminal window with `sudo` to create the `token` entry.
+Run the following command in a terminal window. Replace `YOUR_DISCORD_TOKEN` with your authentication token.
 
 ```sh
-security add-generic-password -s discordo -a token -w "DISCORD TOKEN HERE"
+security add-generic-password -s discordo -a token -w "YOUR_DISCORD_TOKEN"
 ```
 
 #### Linux