pack_extension#
- omni.ext.pack_extension(
- package_id: str,
- ext_path: str,
- output_folder: str,
Pack extension into archive.
Supports both single file extensions (kit files) and folders.
- Parameters:
package_id (str) – Extension package id. Resulting archive will be [package_id].zip
ext_path (str) – Path to extension folder or file.
output_folder – Folder to output archive into.
- Returns:
Path to archived extension.
- Return type:
str