Initialization

The initialization of Lufus starts with the launch_gui_with_usb_data() function. Here, the function to find USB drives is called, and the main GUI is set up. Logging is also set up here.

This GUI setup is done in the lufus class's constructor in the src/lufus/gui/gui.py file.