Add an Install > China Apps menu shown only in China
This commit is contained in:
1 parent
151a530d15
commit
465d4da567
4 files changed
+64
-2
No files matched your search
@@ -292,7 +292,8 @@ assert(!defaultById['install.ai.crush'], 'menu removes Crush from Install > AI')
|
||||
// any other `when:` here is a row that went back to vanishing once installed.
|
||||
assertDeepEqual(
|
||||
defaultItems
|
||||
.filter(item => item.id.startsWith('install.') && item.action && item.when)
|
||||
// China Apps rows hide by region, not because the software is there.
|
||||
.filter(item => item.id.startsWith('install.') && item.action && item.when && item.when !== '[[ "$(omarchy-region)" == "China" ]]')
|
||||
.map(item => item.id),
|
||||
['install.service.chromium-account'],
|
||||
'menu never hides an Install row because the software is already there'
|
||||
|
||||
Reference in new issue
Block a user