Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
...
An roBrightPackage object represents a .zip file, which can include arbitrary content or be installed on a storage device to provide content and script updates (for example, to distribute updates via USB thumb drives). The JavaScript equivalent is the Node.js Zlib API.
Object Creation: The roBrightPackage object is created with a filename parameter that specifies the name of the .zip file.
...
Code Block | ||
---|---|---|
| ||
package = CreateObject("roBrightPackage", "SD:/autorun.zip") package.Unpack("SD:/") MoveFile("SD:/autorun.zip", "SD:/autorun.zip_invalid") RebootSystem() |
Unpacking Encrypted Archives
If the autorun.zip file is encrypted, then the player uses the password stored in the registry, in the section "security" under the name "autozipkey," to decrypt the file.
...