I’m trying to make a desktop app using electron forge. The app design consists of an index.html page for the home page. The home page contains a button when pressed will cause the app to do some calculation and show the result in another result.html page. However, I can’t seem to refrence result.html in index.html so that the the packaged app works although it works in dev environment. Can anobody tell me why?
Already tried using __dirname but it still says file not found.