Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added JS equivalent

...

Insert excerpt
BrightScript Version Navigation Menu
BrightScript Version Navigation Menu
nopaneltrue
This object contains functions for realizing files (i.e. extracting files from an asset pool and placing them into the standard file directory). Realizing a complete asset pool is not recommended because the process can be slow. Instead, the script should retrieve pool file locations using the roAssetPoolFiles object and use them to refer to files directly. The roAssetRealizer object is still useful for realizing files that must be in the root directory to work (e.g. autorun and firmware update files). The JavaScript equivalent is assetrealizer.

Object Creation: The roAssetRealizer object requires two parameters upon creation: an roAssetPool object and a destination directory.

...

  • "DeleteCorrupt": Automatically deletes any files that do not match the expected hash. By default, these files are not deleted.

...