mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-09-18 21:47:23 +00:00
87ad2fb63e
Silverblue has Calculator as an older-versioned flatpak, so it still looks like it did in GNOME 42 (blue equals button, lighter colored number buttons). Signed-off-by: Adam Williamson <awilliam@redhat.com>
12 lines
285 B
Python
12 lines
285 B
Python
#!/bin/python
|
|
|
|
import glob
|
|
import shutil
|
|
|
|
for fn in glob.glob("calc_button*.json"):
|
|
basename = fn.split(".")[0]
|
|
newjson = f"{basename}-flatpak-20220808.json"
|
|
newpng = f"{basename}-flatpak-20220808.png"
|
|
shutil.copy2(fn, newjson)
|
|
shutil.copy2("/tmp/old.png", newpng)
|