From 26b3c60d129f98707d76a9e383497e0118ba6448 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Thu, 26 Dec 2024 09:45:31 -0600 Subject: [PATCH] readme: fix Response JSON equivalent types The JSON equivalent types did not match the Rust types in the documentation. Fix the JSON equivalents to match the Rust type, which is what the program actually sends. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 54fefcb..077dca6 100644 --- a/README.md +++ b/README.md @@ -267,7 +267,8 @@ pub enum Response { #### JSON Equivalent - `"Close"` -- `{ "DesktopEntry": string }` +- `{ "Context": { "id": number, "options": Array }}` +- `{ "DesktopEntry": { "path": string, "gpu_preference": GpuPreference }}` - `{ "Update": Array}` - `{ "Fill": string }`