Yup, you are right! Will edit the post.
For any strange behaivor you can check the repo.
Thx!
Great article that helped me set up my enviroment. But i see that you did not changed in article @shadowtsw 's notes.
I am not sure if it's by changes over time, but this part of code did not worked for me.
console.log(isDev); win.loadURL( isDev ? 'http://localhost:9000' : `file://${app.getAppPath()}/index.html`, );
Instead of win.loadURL('index.html'); i used win.loadFile('index.html'); and it started working showing content in windows.
win.loadURL('index.html');
win.loadFile('index.html');
Thx.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yup, you are right! Will edit the post.
For any strange behaivor you can check the repo.
Thx!
Great article that helped me set up my enviroment. But i see that you did not changed in article @shadowtsw 's notes.
I am not sure if it's by changes over time, but this part of code did not worked for me.
Instead of
win.loadURL('index.html');
i usedwin.loadFile('index.html');
and it started working showing content in windows.Thx.