dw-0 / kiauh

Klipper Installation And Update Helper
GNU General Public License v3.0
3.4k stars 492 forks source link

Fix for issue #199 #200

Closed Yeriwyn closed 2 years ago

Yeriwyn commented 2 years ago

This fixes the issue when there is no ini file present during first run and installing klipper.

The root cause is that the globals are read prior to creation of the ini file, but the code that initializes the globals is looking for the ini file via the read_kiauh_ini function. So we create the ini there on-demand if it's missing

dw-0 commented 2 years ago

Thanks. This indeed looks like a better approach!