19 lines
449 B
JavaScript
19 lines
449 B
JavaScript
import nwbuild from 'nw-builder';
|
|
|
|
|
|
// 3. Configurar nw-builder para usar el directorio temporal como appDir
|
|
await nwbuild({
|
|
srcDir: './src', // Usamos el directorio temporal como fuente
|
|
file: './src/package.json',
|
|
platforms: ['linux64'],
|
|
glob: false,
|
|
version: '0.94.0',
|
|
flavor: 'normal',
|
|
buildDir: './build/emalibre',
|
|
outDir: './build/emalibre',
|
|
zip: false,
|
|
appName: 'emalibre'
|
|
});
|
|
|
|
console.log('Correcto!');
|