Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion PortMaster/pylibs/pugscene.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ def get_startup_warnings(device_info):
except (OSError, UnicodeDecodeError):
pass

# TODO: add checks for NextUI, PakUI when we have unique markers
try:
if 'NextUI' in Path('/mnt/SDCARD/.system/version.txt').read_text():
warnings.append(('nextui', _('NextUI is not supported by PortMaster.'), firmware_suggestion))
except (OSError, UnicodeDecodeError):
pass

# TODO: add a check for PakUI when we have a unique marker

# Generic catch-all for TrimUI-based OSes we can't identify specifically
if not warnings and Path('/etc/trimui_device.txt').exists():
Expand Down