mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
ReunionPagesIcons combines 20_Retro Games now
This commit is contained in:
parent
0b8331d3d0
commit
c641c8d84a
@ -408,21 +408,21 @@ class MainScreen(object):
|
||||
tmp = sorted(tmp, key=itemgetter(0))
|
||||
|
||||
retro_games_idx = []
|
||||
retro_games_dir = "20_Retro Games"
|
||||
for i,x in enumerate(tmp):
|
||||
if "20_Retro Games" in x[0]:
|
||||
if retro_games_dir in x[0]:
|
||||
retro_games_idx.append(x[1])
|
||||
|
||||
if len(retro_games_idx) > 1:
|
||||
for i in range(1,len(retro_games_idx)):
|
||||
p._Icons[retro_games_idx[0]]._LinkPage._Icons.extend( p._Icons[retro_games_idx[i]]._LinkPage._Icons)
|
||||
#p._Icons[ retro_games_idx[0]]._LinkPage._Icons.extend( tmp[ retro_games_idx[i] ]._LinkPage._Icons )
|
||||
p._Icons[retro_games_idx[0]]._LinkPage._Icons.extend( p._Icons[retro_games_idx[i]]._LinkPage._Icons) ### assumes the folder of ~/apps/Menu/20_Retro Games is legalzip","sfc"],
|
||||
|
||||
|
||||
tmp_swap = []
|
||||
for i, x in enumerate(tmp):
|
||||
if "20_Retro Games" not in x[0]:
|
||||
if retro_games_dir not in x[0]:
|
||||
tmp_swap.append(x)
|
||||
if "20_Retro Games" in x[0] and i == retro_games_idx[0]:
|
||||
if retro_games_dir in x[0] and i == retro_games_idx[0]:
|
||||
tmp_swap.append(x)
|
||||
|
||||
tmp = tmp_swap
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user