| dist_has_platform_artifact | R Documentation |
electron-builder 26.x has a known bug where the build completes and the installer is written to disk, but the process then exits with status 1 during post-build publish metadata. When that happens, processx-invoked npm inherits the non-zero exit even though the .dmg/.exe/.AppImage is sitting right there. We treat "artifact exists" as success.
dist_has_platform_artifact(output_dir, p)
output_dir |
Character Electron project directory |
p |
Character platform identifier ( |
Logical: TRUE if a platform-specific installer is present.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.