Stick firmware package handler
Class |
|
Manifest V1 Class |
Exception |
|
Undocumented |
Exception |
|
Undocumented |
Exception |
|
Undocumented |
Exception |
|
Undocumented |
Exception |
|
Undocumented |
Function | check |
Get manifest version from class |
Function | clean |
Cleans pack file to not start with dot (.) or slash (/) |
Function | get |
Gets manifest class from zip package |
Function | get |
Gets file from zip archive |
Function | get |
Slightly better file getter |
Function | install |
Install app package |
Function | open |
Context menu gui installer |
Constant | _FLASH |
Undocumented |
Constant | _MAX |
Undocumented |
Get manifest version from class Args: obj (any): Manifest class Return: int: Manifest version or 0 if unknown
Cleans pack file to not start with dot (.) or slash (/) Args: path (str): Path Return: str: Cleaned up path
Gets manifest class from zip package Args: zip_package (str): Path to app archive Return: any: Manifest class
Gets file from zip archive Args: zip_path (str): Path to zip archive filename (str): Path to file in zip archive (were / is the root of zip archive) Return: str | None: File content or None if failed to unpack
Slightly better file getter Args: zip_path (str): Path to zip archive filename (str): Path to file in zip archive (were / is the root of zip archive) Return: str | None: File content or None if failed to unpack