d4nj1 / TLPUI

A GTK user interface for TLP written in Python
GNU General Public License v2.0
1.08k stars 83 forks source link

refactor: add file existence check before reading intrinsic defaults #112

Closed GeorgesAlkhouri closed 1 year ago

GeorgesAlkhouri commented 1 year ago

I'm currently building a nix derivation for tlpui, also mentioned in #86. To make this happen I added a file check for the intrinsic defaults path because this path is not provided with NixOS and the application would otherwise crash.

d4nj1 commented 1 year ago

Please discuss with me in https://github.com/d4nj1/TLPUI/issues/86#issuecomment-1208619176

d4nj1 commented 1 year ago

Please see https://github.com/NixOS/nixpkgs/pull/188278#issuecomment-1500829795