mirror of
https://github.com/Nexoniarz/Fry3DX.git
synced 2026-11-03 04:24:26 +00:00
Android: no .idsig file next to the APK (v4 signing off)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NMSrd5oe1GpUD7E6d825KP
This commit is contained in:
parent
5e84ef0e13
commit
6eb2f55858
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ def main():
|
|||
"-keyalg", "RSA", "-keysize", "2048", "-validity", "10000", "-dname", "CN=Fry3DX", stdout=subprocess.DEVNULL)
|
||||
os.makedirs(os.path.join(ROOT, "dist"), exist_ok=True)
|
||||
out = os.path.join(ROOT, "dist", f"{APP}-{app_version()}-android-arm64.apk")
|
||||
run(os.path.join(tools, "apksigner"), "sign", "--ks", keystore, "--ks-pass", f"pass:{password}", "--out", out, aligned)
|
||||
run(os.path.join(tools, "apksigner"), "sign", "--v4-signing-enabled", "false", "--ks", keystore, "--ks-pass", f"pass:{password}", "--out", out, aligned)
|
||||
print(f"{os.path.relpath(out, ROOT)}: {os.path.getsize(out) // (1024 * 1024)} MB")
|
||||
if "--install" in sys.argv:
|
||||
run("adb", "install", "-r", out)
|
||||
|
|
|
|||
Loading…
Reference in a new issue