Skip to content

Commit

Permalink
[teamblue] change some menuids
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylicious committed Aug 13, 2024
1 parent 5d7e716 commit c11e6f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 4 additions & 1 deletion autoresolution/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,9 +869,12 @@ def autostart(reason, **kwargs):


def startSetup(menuid):
if IMAGEDISTRO in ('teamblue', 'openhdf'):
if IMAGEDISTRO in ('openhdf'):
if menuid != "video_menu":
return []
elif IMAGEDISTRO in ('teamblue'):
if menuid != "video":
return []
elif IMAGEDISTRO in ('openbh', 'openvix'):
if menuid != "av":
return []
Expand Down
8 changes: 2 additions & 6 deletions setpasswd/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,8 @@ def VirtualKeyBoardTextEntry(self, callback=None):


def startChange(menuid):
if IMAGEDISTRO in ('teamblue'):
if menuid != "general_menu":
return []
else:
if menuid != "system":
return []
if menuid != "system":
return []
return [(title, main, "change_root_passwd", 50)]


Expand Down

0 comments on commit c11e6f8

Please sign in to comment.