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

fix(show-me): use BrowserWindow.loadFile in dialog example #1590

Merged
merged 1 commit into from
May 10, 2024

Conversation

dsanders11
Copy link
Member

Current example doesn't handle the edge case where the filename has a # as it needs to be encoded, which the naive construction of file://${file} does not handle. Just pass the path directly to loadFile instead as it will do the right thing.

@dsanders11 dsanders11 requested review from codebytere and a team as code owners May 9, 2024 22:57
@coveralls
Copy link

Coverage Status

coverage: 87.472%. remained the same
when pulling e6fe162 on fix/dialog-load-file
into 8b4077f on main.

@dsanders11 dsanders11 merged commit dc7149a into main May 10, 2024
10 checks passed
@dsanders11 dsanders11 deleted the fix/dialog-load-file branch May 10, 2024 00:33
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

Successfully merging this pull request may close these issues.

None yet

4 participants