You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
Setting HomePage="index.htm?x=1#xyz results in the app trying to load that file instead of interpreting it as a query string and a fragment. The workaround is to pass an absolute URL with a file scheme, but the app would have to reimplement the logic of creating an absolute path without access to the astilectron.Window.
Adding fragment and query options to astilectron.WindowOptions would fix the problem, but it could be argued that this is a bootstrap issue, since creating an absolute URL when you have access to astilectron.Window is fairly easy as demonstrated by absoluteResourcesPath in this project.
The other option is to add fragment and query to bootstrap.Options and create an absolute URL with a file scheme before creating the window.
The text was updated successfully, but these errors were encountered:
Setting HomePage="index.htm?x=1#xyz results in the app trying to load that file instead of interpreting it as a query string and a fragment. The workaround is to pass an absolute URL with a file scheme, but the app would have to reimplement the logic of creating an absolute path without access to the astilectron.Window.
Adding fragment and query options to astilectron.WindowOptions would fix the problem, but it could be argued that this is a bootstrap issue, since creating an absolute URL when you have access to astilectron.Window is fairly easy as demonstrated by absoluteResourcesPath in this project.
The other option is to add fragment and query to bootstrap.Options and create an absolute URL with a file scheme before creating the window.
The text was updated successfully, but these errors were encountered: