#!/usr/bin/env python3
# a fake codesign: --verify passes unless FAKE_SIGN=bad, -dv names the team FAKE_TEAM (the Blender Foundation's by default)
import os
import sys

if "--verify" in sys.argv:
    sys.exit(1 if os.environ.get("FAKE_SIGN") == "bad" else 0)
print("Identifier=org.blenderfoundation.blender\nTeamIdentifier=" + os.environ.get("FAKE_TEAM", "68UA947AUU"), file=sys.stderr)
