Skip to main content

AssetFileEntry

Properties​

NameTypeDescriptionNotes
PathStringRelative path within the asset bundle directory[required]
SizeBytesInt64Uncompressed file size in bytes[required]
Sha256StringSHA-256 hex digest of file contents[required]

Examples​

  • Prepare the resource
$AssetFileEntry = Initialize-AssetFileEntry -Path assets/app.js `
-SizeBytes 2048 `
-Sha256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  • Convert the resource to JSON
$AssetFileEntry | ConvertTo-JSON

[Back to top]