Skip to content

fontlab_instamix.initscript

initscript

Add or remove FontApp's startup block in <data>/initScript.py.

The block is byte-identical to the one written by fontlabapp's plugins.startup module and the legacy installer, so either tool can remove what the other added. Lines outside the block are never touched.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
APP_ID attribute
BEGIN attribute
END attribute
FILE attribute
HOOK attribute
update function (data: Path, *, remove: bool=False) -> bool Add (or remove) the block in <code>data/initScript.py</code>; return whether it changed.
updated function (contents: bytes, remove: bool) -> bytes Return contents with the block added or removed.