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
Apostrophe in Autogenerated Name Causes Application Crash #3128
Comments
I'm kind of a newb and not good with testing just yet. If someone wants to fix this I believe it can be easily done. In the file, v2/cmd/wails/init.go, in the function findAuthorDetails after line 232 add a newline and say, |
Thanks for raising this. Tagging as a good first issue. |
Hi I'd like to take this up and fix this. |
Dropped a PR. Would love to continue contributing if that helps. |
Description
In the wails.json file, I'm not sure where the author name is being pulled from, but my name (O'Keefe) has an apostrophe in it. When wails generates the field in the json file it comes over as "John O'Keefe". This causes wails dev to crash on launch with ' ERROR invalid character ''' in string escape code'. Removing the '' fixes this and "John O'Keefe" works perfectly.
To Reproduce
Expected behaviour
Script to handle apostrophes correctly.
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response
The text was updated successfully, but these errors were encountered: