Executable from JSON #979
-
I'm using QuickJS as a Native Messaging host to write files sent to the host from the browser, e.g., from DevTools The tricky part (that I should probably already know how to do by now) is for the case of an executable. So I have With Deno and Node.js (https://github.com/guest271314/native-messaging-file-writer) and Cloudflare's Now I'm trying to do this with What am I missing here? In Start externally connectable connection (this is JSON-like over IPC)
Forward data to/from host native host in MV3
QuickJS host
Right now the file is written as plain text. And is 3.9 MB, where However, I can fetch the file as JSON in the extension with
How do I use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured it out. Write a plain JavaScript object, using smaller data chunks, to avoid invalid JSON in some writes ending in
Writing
|
Beta Was this translation helpful? Give feedback.
I figured it out. Write a plain JavaScript object, using smaller data chunks, to avoid invalid JSON in some writes ending in
,