unpack_extension#
- omni.ext.unpack_extension(
 - archive_path: str,
 - output_folder: str,
 - ext_id: str | None = None,
 - archive_subdir: str | None = None,
 - skip_security_checks=True,
 Unpack extenson making it ready to use if output folder is in extension search paths.
Supports both single file extensions (kit files) and folders.
- Parameters:
 archive_path (str) – Path to archive.
output_folder – Folder to unpack extension into.
ext_id (str) – Extension id to use to build folder name. By default acrhive filename is used.
archive_subdir (str) – Subdir in the archive to unpack, by default archive root is used.
skip_security_checks (bool) – if registry of this extension is trusted we skip extra security checks.