Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46113fc833 |
No files matched your search
@@ -1,5 +1,9 @@
|
||||
# Arcade changelog
|
||||
|
||||
## 0.7.79
|
||||
|
||||
- On phones the library shows small covers, two or three in a row.
|
||||
|
||||
## 0.7.78
|
||||
|
||||
- Download Arcade itself in under one megabyte: it lists the games, and their covers and each game arrive separately when you need them.
|
||||
|
||||
@@ -1 +1 @@
|
||||
5490a8e61f5fa218e813b6e3d78bece6198d2ed935c42fc77b7d5e4aeed9bfe3
|
||||
a99851fc40d67a8ca820841722ce2ddde5ca51844e0778c4762681570c488289
|
||||
+2
-2
@@ -34,8 +34,8 @@
|
||||
"arcade": {
|
||||
"id": "inbe.arcade",
|
||||
"title": "Arcade",
|
||||
"version": "0.7.78",
|
||||
"sequence": 157,
|
||||
"version": "0.7.79",
|
||||
"sequence": 158,
|
||||
"host_api": 35
|
||||
},
|
||||
"wurm": {
|
||||
|
||||
@@ -131,7 +131,7 @@ def main():
|
||||
assert int(subprocess.check_output(["xdotool", "getwindowpid", window], text=True, timeout=10)) == child.pid
|
||||
subprocess.run(["import", "-window", window, str(output / (name + ".png"))], check=True, timeout=10)
|
||||
|
||||
def grid(child, name):
|
||||
def grid(child, name, phone=False):
|
||||
driver.wait_idle(frames=20)
|
||||
driver.wait(label="Arcade", role="text")
|
||||
assert not driver.find(label="Chess"), "Chess is temporarily disabled"
|
||||
@@ -141,14 +141,21 @@ def main():
|
||||
editor_card = driver.wait(label="Shovey Editor", role="button")
|
||||
assert classic_card['y'] == editor_card['y'], "Apps must share a grid row"
|
||||
assert classic_card['x'] != editor_card['x']
|
||||
assert classic_card['width'] >= 200 and classic_card['height'] >= 350
|
||||
if phone:
|
||||
# Phones show small covers, two or three a row.
|
||||
wurm_card = driver.wait(label='Apfelwurm', role='button')
|
||||
assert wurm_card['y'] == classic_card['y'], 'A phone row holds all three covers'
|
||||
assert 100 <= classic_card['width'] < 200, 'Phone covers must be small cards'
|
||||
else:
|
||||
assert classic_card['width'] >= 200 and classic_card['height'] >= 350
|
||||
assert not driver.find(label='Play', role='button')
|
||||
assert not driver.find(label='Open', role='button')
|
||||
for label in ('Shovey', 'Shovey Editor', 'Apfelwurm'):
|
||||
assert not driver.find(label=label, role='text'), 'Title artwork must not repeat its name underneath'
|
||||
driver.wait(label='Apfelwurm', role='button', visible=False)
|
||||
smallest = (100, 140) if phone else (180, 200)
|
||||
covers = [node for node in driver.find(role='image', visible=True)
|
||||
if node['width'] >= 180 and node['height'] >= 200]
|
||||
if node['width'] >= smallest[0] and node['height'] >= smallest[1]]
|
||||
assert len(covers) >= 2, "Apps must use large title-screen artwork"
|
||||
capture(child, name)
|
||||
with Image.open(output / (name + ".png")) as image:
|
||||
@@ -208,7 +215,7 @@ def main():
|
||||
answer_library_question(driver)
|
||||
window = subprocess.check_output(['xdotool', 'search', '--onlyvisible', '--pid', str(child.pid)], text=True).splitlines()[0]
|
||||
subprocess.run(['xdotool', 'windowsize', window, '480', '820'], check=True)
|
||||
grid(child, "apps-portrait")
|
||||
grid(child, "apps-portrait", phone=True)
|
||||
assert not games & set(server['requests']), "Covers must not predownload games"
|
||||
# Covers show only the art; the download dialog names the size.
|
||||
cover_sizes = dict(sizes, **{'shovey-editor': size_text(by_name['shovey']['bytes'] + by_name['shovey-editor']['bytes'])})
|
||||
|
||||
+6
-6
@@ -2,9 +2,9 @@
|
||||
"format": 1,
|
||||
"packages": [
|
||||
{
|
||||
"commit": "18bb88dec70912c469def1d6962c3a7444a28172",
|
||||
"commit": "96e0ac55add63c65bea22dc2395a751e0b048fc1",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "kryon": "p494bd23023576689"},
|
||||
"id": "pae4d9c01ee238f85",
|
||||
"id": "p7407a72c65eeeb2b",
|
||||
"name": "Apps",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/waozixyz/apps.git"
|
||||
@@ -78,7 +78,7 @@
|
||||
},
|
||||
{
|
||||
"commit": "2f6f1f57d7de742ef7ebc01159c2315acf793d5b",
|
||||
"dependencies": {"apps": "pae4d9c01ee238f85", "crypto": "pc23fbf455e97614d", "curl": "p2f75403ea4cb61e4", "daochi_client": "p9972fcdd2d5ba999", "game2d": "p20eb23d3e6db3711", "kryon": "p494bd23023576689", "kss": "p1b13dda539ed2a39", "liboqs": "p4b0a50b49959e674", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "self": "pa4da0de6c3c44e61", "sqlite": "p219661bf4be659ed"},
|
||||
"dependencies": {"apps": "p7407a72c65eeeb2b", "crypto": "pc23fbf455e97614d", "curl": "p2f75403ea4cb61e4", "daochi_client": "p9972fcdd2d5ba999", "game2d": "p20eb23d3e6db3711", "kryon": "p494bd23023576689", "kss": "p1b13dda539ed2a39", "liboqs": "p4b0a50b49959e674", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "self": "pa4da0de6c3c44e61", "sqlite": "p219661bf4be659ed"},
|
||||
"id": "p48228a6b7e2920d3",
|
||||
"name": "Inbe",
|
||||
"ref": "master",
|
||||
@@ -145,7 +145,7 @@
|
||||
},
|
||||
{
|
||||
"commit": "481ec2a6cdee05680bd809d3436134ef670db6ce",
|
||||
"dependencies": {"apps": "pae4d9c01ee238f85", "kryon": "p494bd23023576689", "mingcute": "pe1027b9d16704793"},
|
||||
"dependencies": {"apps": "p7407a72c65eeeb2b", "kryon": "p494bd23023576689", "mingcute": "pe1027b9d16704793"},
|
||||
"id": "p4b52e2fb4081447c",
|
||||
"name": "Apfelwurm",
|
||||
"ref": "master",
|
||||
@@ -169,7 +169,7 @@
|
||||
},
|
||||
{
|
||||
"commit": "032b65c0fd4cfaf14bd8e88c561fafb1544acadb",
|
||||
"dependencies": {"apps": "pae4d9c01ee238f85", "entity": "p2b0009b9bbaa09de", "kryon": "p494bd23023576689", "mingcute": "pe1027b9d16704793"},
|
||||
"dependencies": {"apps": "p7407a72c65eeeb2b", "entity": "p2b0009b9bbaa09de", "kryon": "p494bd23023576689", "mingcute": "pe1027b9d16704793"},
|
||||
"id": "pa7ffcd93cb717214",
|
||||
"name": "Shovey",
|
||||
"ref": "master",
|
||||
@@ -177,7 +177,7 @@
|
||||
}
|
||||
],
|
||||
"root": {
|
||||
"dependencies": {"apps": "pae4d9c01ee238f85", "entity": "p2b0009b9bbaa09de", "inbe": "p48228a6b7e2920d3", "kryon": "p494bd23023576689", "mingcute": "pe1027b9d16704793", "shovey": "pa7ffcd93cb717214", "wurm": "p4b52e2fb4081447c"},
|
||||
"dependencies": {"apps": "p7407a72c65eeeb2b", "entity": "p2b0009b9bbaa09de", "inbe": "p48228a6b7e2920d3", "kryon": "p494bd23023576689", "mingcute": "pe1027b9d16704793", "shovey": "pa7ffcd93cb717214", "wurm": "p4b52e2fb4081447c"},
|
||||
"name": "Arcade"
|
||||
},
|
||||
"toolchain": {
|
||||
|
||||
Reference in new issue
Block a user