Skip to content

DesktopCdpTransport.getAsarFallback method

DesktopCdpTransport › getAsarFallback

Returns the silent-asar-fallback verdict for this owned instance — whether the app version it is actually running matches the swapped-in pin, or the installer silently reverted to its own bundled asar (read live post-boot). Returns undefined when this is not an owned instance, the instance has not booted yet, or the verdict could not be determined (no asar was swapped, or the live version was unreadable). A 'fallback' verdict reaches this surface only when the throw is disabled (DesktopCdpTransportConfig.shouldThrowOnSilentAsarFallback false); otherwise it throws SilentAsarFallbackError.

Signature:

getAsarFallback(): AsarFallback | undefined

Returns: AsarFallback | undefinedThe silent-asar-fallback verdict, or undefined.