t2t2 / obs-tablet-remote

Tablet optimised OBS Remote
http://t2t2.github.io/obs-tablet-remote/
MIT License
424 stars 129 forks source link

How do I successfully build this on Windows? #70

Closed mateohhh closed 4 years ago

mateohhh commented 4 years ago

EDIT: My prior request was premature... may have worked out my problem, deleted prior text in case it confuses anyone else. Leaving this open for the moment until I'm certain.

mateohhh commented 4 years ago

LOL ... well, it was a far simpler solution that even what I thought I was missing. I thought maybe I just forgot how to run a Node.js app.

I was trying to run the package from a subdirectory, but eventually I noticed that apparently "." or "./" etc are not accepted as a homepage path, so the index.html file that was being generated always set the files to be on the root, with the linked files in the "/static/..." directories.

All I had to do was add a period in each url, replacing each instance of "=/static" with "=./static", and it worked as expected. Now I can place it anywhere and run it just fine.

Hours of troubleshooting, for a few measly periods.