electron-toolkit
electron-toolkit copied to clipboard
fix(utils): Check if app exists before checking isPackaged
Description
app
may be null or undefined
Additional context
What is the purpose of this pull request?
- [X] Bug fix
- [ ] New Feature
- [ ] Documentation update
- [ ] Other
Before submitting the PR, please make sure you do the following
- [X] Read the Contributing Guidelines.
- [X] Read the Pull Request Guidelines and follow the Commit Convention.
- [X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g.
fixes #123
).