RetroShare / RSNewWebUI

30 stars 20 forks source link

Windows build script is outdated #19

Open rottencandy opened 3 years ago

rottencandy commented 3 years ago

The windows build script is not up to date with the bash script, and does not build the webui correctly. It needs to be updated to match the build procedure in the bash script.

Sukhamjot-Singh commented 2 years ago

https://github.com/RetroShare/RSNewWebUI/blob/117cec277c0c4debc4c59bde63abe49a297dcc24/webui-src/make-src/build.bat#L26 copy %src%\app\assets\index.html %publicdest%\index.html

I don't know much about build scripts. I was trying to setup the environment on Windows once. When I run the build.bat file, it throws a small error and index file is not copied.

This issue was trivial. the address says \app\assets, whereas assets are directly inside src.

Sukhamjot-Singh commented 2 years ago

Since I am planning to resume my work after my exams, I am trying to switch to windows. I am using WSL and have compiled using qmake. I have done the configurations in Retroshare and when I login Cross Origin Request Blocked is shown. image

Is there a way around this?