Options to configure packaging.
A Promise containing the paths to the newly created application bundles.
const packager = require('@electron/packager')
async function bundleElectronApp(options) {
const appPaths = await packager(options)
console.log(`Electron app bundles created:\n${appPaths.join("\n")}`)
}
Bundles Electron-based application source code with a renamed/customized Electron executable and its supporting files into folders ready for distribution.
Briefly, this function:
<out>/<appname>-<platform>-<arch>