From 29fdf4c40be7c84acfd4f235358313daa849a06a Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Mon, 1 Jan 2024 16:58:23 -0800 Subject: [PATCH] Adapt to window geometry, set up a fake environment variable MEDLEYDIR Passes the window width/height as the requested geometry to lde at startup. Since we control the directory structure of the file-system, we can pass the known fixed location of the Medley directories in the MEDLEYDIR environment variable. Sets up the NetHub host as localhost - not currenty functional, but a WebSocket server could be added to communicate with the NetHub gateway to enable local networking from the browser version of Medley. --- src/lde.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lde.html b/src/lde.html index 3c7f8cc..d429eb4 100644 --- a/src/lde.html +++ b/src/lde.html @@ -1,5 +1,6 @@ + @@ -10,8 +11,11 @@