fix(desktop): use served dashboard token for websocket auth

This commit is contained in:
Jeff
2026-06-10 14:36:00 -04:00
parent 07ac185904
commit f8209f91d3
5 changed files with 192 additions and 6 deletions
@@ -8,7 +8,7 @@ const path = require('node:path')
const ELECTRON_DIR = __dirname
function readElectronFile(name) {
return fs.readFileSync(path.join(ELECTRON_DIR, name), 'utf8')
return fs.readFileSync(path.join(ELECTRON_DIR, name), 'utf8').replace(/\r\n/g, '\n')
}
function requireHiddenChildOptions(source, needle) {