See https://issuetracker.google.com/issues/231837768
Should be fixed by this commit, which is not yet part of an Android Gradle plugin release.
import code; code.interact(local=dict(globals(), **locals())) |
import dataclasses | |
import sys | |
import zipfile | |
from pathlib import Path | |
import PIL | |
import PIL.Image | |
import apkrepotool | |
import apkrepotool.xml_icons as xml_icons |
// firefox only | |
(async () => { for (const x of document.querySelectorAll("img:-moz-broken")) { x.src = x.src; await new Promise(r => setTimeout(r, 100)); console.log(x) }; console.log("done") })() | |
// generic | |
(async () => { for (const x of document.querySelectorAll("img")) { if (!x.naturalWidth) { x.src = x.src; await new Promise(r => setTimeout(r, 100)); console.log(x) } }; console.log("done") })() |
GNU GENERAL PUBLIC LICENSE | |
Version 3, 29 June 2007 | |
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. | |
Preamble | |
The GNU General Public License is a free, copyleft license for |
#!/usr/bin/python3 | |
# encoding: utf-8 | |
# SPDX-FileCopyrightText: 2024 FC (Fay) Stegerman <flx@obfusk.net> | |
# SPDX-License-Identifier: AGPL-3.0-or-later | |
import os | |
import struct | |
import zipfile | |
from dataclasses import dataclass |
#!/usr/bin/python3 | |
import struct | |
import sys | |
import zipfile | |
zfile, entry = sys.argv[1:] | |
with zipfile.ZipFile(zfile) as zf: | |
info = zf.getinfo(entry) | |
with open(zfile, "rb") as fh: |
#!/usr/bin/env python3 | |
import hashlib | |
import sys | |
import apkrepotool | |
from pathlib import Path | |
for apk in sys.argv[1:]: | |
certs, _ = apkrepotool.get_signing_certs(Path(apk)) |
import glob | |
import json | |
import sys | |
from typing import Dict | |
appid, = sys.argv[1:] | |
results: Dict[str, int] = {} | |
for json_file in sorted(glob.glob("apk_downloads/*/*.json")): | |
with open(json_file, encoding="utf-8") as fh: |
#!/bin/bash | |
set -euo pipefail | |
apksigner verify -v --print-certs "$@" 2>&1 \ | |
| ( grep -av '^WARNING: META-INF/.* not protected by signature' || true ) | cat -v |
See https://issuetracker.google.com/issues/231837768
Should be fixed by this commit, which is not yet part of an Android Gradle plugin release.