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

Help docs on Windows #5861

Closed
BrianHanke opened this issue May 18, 2024 · 0 comments
Closed

Help docs on Windows #5861

BrianHanke opened this issue May 18, 2024 · 0 comments

Comments

@BrianHanke
Copy link
Contributor

Howdy all, I noticed that a bunch of Help menu items are greyed out on Windows and I see it's because the HTML for the docs isn't included. I copied them from the Linux version and then ran into the problem that this line from menus.py doesn't seem to work on Windows: url = "file://" + url if os.path.isfile( url ) else ""

I changed it to url = url if os.path.isfile( url ) else "" and now it works. Windows will ask what app you want to use to open HTML files, if it isn't already set.

murraystevenson added a commit that referenced this issue Jul 27, 2024
Windows security appears to block us from opening "file://" URLs so instead we just open the file path directly, which Windows seems entirely OK with...

Fixes #5861.
johnhaddon pushed a commit that referenced this issue Jul 31, 2024
Windows security appears to block us from opening "file://" URLs so instead we just open the file path directly, which Windows seems entirely OK with...

Fixes #5861.
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

1 participant