FaithLife-Community / LogosLinuxInstaller

A Python application that helps install and maintain FaithLife's Logos Bible (Verbum) Software on Linux through Wine.
MIT License
35 stars 10 forks source link

fix: ensure app is set before attempting to operate on it #192

Closed ctrlaltf24 closed 1 month ago

ctrlaltf24 commented 1 month ago

I don't know of any code paths to trigger this error, however app may be uninitiated at this point

thw26 commented 1 month ago

Thank you for all your contributions and issue reporting!

The hypothetical error could only be triggered from the CLI at present; following #161 it should be impossible.

That being said, this seems like a simple change that ensures the program only executes if a UI is found. Merging.