Skip to content

init: Hide unsupported UIs

Administrator requested to merge hide-ui into master

Hides user interfaces which require hardware acceleration for unsupported devices. Support is identified by deviceinfo property gpu_accelerated. UI which has hardware acceleration as requirement, must have pmb:gpu-accel in APKBUILD's options.

Also fixes E501 for pmb/config/init.py and uses f-strings.

Closes #1998 (closed).

Edited by Administrator

Merge request reports

Loading