From b1e30d2ef6a17ba76154f35566df8e579c89d2b9 Mon Sep 17 00:00:00 2001 From: ayn2op Date: Sat, 14 Jun 2025 19:16:05 -0400 Subject: [PATCH] docs(README): add instructions to manually add token on windows --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d210cfb..2d392da 100644 --- a/README.md +++ b/README.md @@ -73,12 +73,20 @@ Do this if you get the error: > failed to get token from keyring: secret not found in keyring -#### MacOS +#### Windows -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" +cmdkey /add:discordo /user:token /pass:YOUR_DISCORD_TOKEN +``` + +#### MacOS + +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 "YOUR_DISCORD_TOKEN" ``` #### Linux