Move away from browser as a main plataform

This commit is contained in:
2026-11-22 21:38:12 -03:00
parent cbd662dc2a
commit 90dd86b336
12 changed files with 166 additions and 150 deletions
+1 -4
View File
@@ -43,9 +43,8 @@ export type WindowMessage =
| { type: "focus"; focused: boolean }
// whether the window can be seen
| { type: "shown"; shown: boolean }
// answers, by the id they were asked with
// the answer to read_clipboard, by the id it was asked with
| { type: "clipboard"; id: number; text: string }
| { type: "answer"; id: number; yes: boolean }
// sources that played to their end, see web_audio.ts
| { type: "audio_ended"; sources: number[] };
@@ -55,8 +54,6 @@ export type ClientMessage =
// start the client over at page, see Platform.restart
| { type: "restart"; page: string }
| { type: "fatal"; message: string }
// a question with a yes and a no, answered with "answer"
| { type: "ask"; id: number; title: string; text: string; yes: string; no: string }
| { type: "read_clipboard"; id: number }
| { type: "write_clipboard"; text: string }
| { type: "store"; key: string; value: string }