Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win10 Autostart Behaviour #13

Open
mabyoro opened this issue Jan 17, 2022 · 2 comments
Open

Win10 Autostart Behaviour #13

mabyoro opened this issue Jan 17, 2022 · 2 comments

Comments

@mabyoro
Copy link

mabyoro commented Jan 17, 2022

Hi,
on Win10 OSC-for-OBS 2.7.1 doesn't load and connect automatically. It always starts with no settings. But when I go back to default values via file-menu then my default settings are correctly loaded. What am I doing wrong?

Additional Information: first I packed everything under C:\Programme (or "Program Files" in english) and got errors that OSC-for-OBS is not allowed to write the default-file. I then started the software as administrator, didn't get the error anymore but still no settings on startup. I then moved OSC-for-OBS to D:\ but still no settings on startup.

Thanks in advance
Marcus

@TWSho
Copy link

TWSho commented Feb 8, 2022

I have the same problem.

@jshea2
Copy link
Owner

jshea2 commented May 18, 2022

So looking back on when I first made this app I now realize I should've made it with React, so I could have a better way of loading the app, then fetch the data. Currently, the problem is the app starts and the javascript runs, but the HTML hasn't loaded yet, so it tries to inject the values into the HTML before it has loaded. I tweaked the code to have the delay be around 1000ms, but i've noticed it really depends on the computer and how fast it loads the app.

A workaround (until i can figure out a better way rather than remaking this app with React) is if you change a variable in the index.js file in (Resources>app>src) on line 36 there is: let loadDelay = 1000
Change this to a greater number that works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants