molecule
Platform | Build Status |
---|---|
Linux | |
macOS | |
Windows |
Node.js module which turns web app into Electron app.
Usage
yarn add @webcatalog/molecule
createAppAsync(
'google',
'Google',
'https://google.com',
path.resolve(__dirname, 'test', '828296a5-0969-4a56-8e68-e188b03584b0.icns'),
path.resolve(__dirname, 'dist'),
)
.then(() => console.log('ok'))
.then(err => console.log(err));
Development
yarn
yarn install-app-full
yarn electron-dev
yarn install-app-full
is required because running yarn
only installs the production dependencies
, not devDependencies
. This trick is to minimize WebCatalog package size.