Apologies if I'm missing something obvious, but is there a way to run this code on a Mac, too? Or is this only for Windows? Thanks!
Edit: I followed the node installation instructions for macOS, tested, and that worked fine. Then I downloaded @doug8796's scripts, put the ncc-7-0.js in the same directory, and replaced main.js in my LauchAgent with ncc-7-0.js and got this in the log
[2025/01/27 12:01:17.363] Chrome Capture server listening on port 5589
So far, so good!
Then I tried to watch something and, unfortunately, got this in the log:
[2025/01/27 12:02:22.757] TypeError: Cannot read properties of undefined (reading 'match')
at /Users/dave/Applications/chrome-capture-for-channels/ncc-7-0.js:248:33
at newFn (/Users/dave/Applications/chrome-capture-for-channels/node_modules/express-async-errors/index.js:16:20)
at Layer.handle [as handle_request] (/Users/dave/Applications/chrome-capture-for-channels/node_modules/express/lib/router/layer.js:95:5)
at next (/Users/dave/Applications/chrome-capture-for-channels/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/Users/dave/Applications/chrome-capture-for-channels/node_modules/express/lib/router/route.js:114:3)
at newFn (/Users/dave/Applications/chrome-capture-for-channels/node_modules/express-async-errors/index.js:16:20)
at Layer.handle [as handle_request] (/Users/dave/Applications/chrome-capture-for-channels/node_modules/express/lib/router/layer.js:95:5)
at /Users/dave/Applications/chrome-capture-for-channels/node_modules/express/lib/router/index.js:284:15
at param (/Users/dave/Applications/chrome-capture-for-channels/node_modules/express/lib/router/index.js:365:14)
at param (/Users/dave/Applications/chrome-capture-for-channels/node_modules/express/lib/router/index.js:376:14)```
Not sure what that means and haven't been able to dig in and find out, but hopefully it's helpful to someone down the line. :)