Launcher and automatic updater for Discord on Linux. Backend being written in Go, frontend TBD.
Launcher and automatic updater for Discord on Linux. Backend being written in Go, frontend TBD.
(Continuation of a project which started a couple of weeks ago)
The backend now compiles, and sockets are working! Clients can connect to a socket set up by the backend, and receive its global state and send commands (such as setting configuration options and requesting the state)
flock before attempting to write to it to prevent multiple goroutines writing to the same file at oncelog.Fatal
There’s lots still left to do, including propagating configuration/global/non-release-specific errors to the frontend, the automatic stuff on intervals, and the actual frontend, but I think the fact I’ve got working IPC is a good enough milestone to create a devlog
The attachment shows a connection to a running backend using socat, where after connecting I send the state command which results in me receiving the current global state of the backend. Then, I send a config command, enabling the “automatically check for updates” option, and then another state command to confirm that the configuration was indeed updated
Log in to leave a comment