Skip to content

Commit

Permalink
Improve build output
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp committed Nov 28, 2024
1 parent 30ed1af commit c05e600
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions resources/js/electron-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ try {

if (isBuilding) {

console.log('=====================');
console.log('Building for ' + targetOs);
console.log('=====================');
console.log('updater config', updaterConfig);
console.log('=====================');
console.log();
console.log('===================================================================');
console.log(' Building for ' + targetOs);
console.log('===================================================================');
console.log();
console.log('Updater config', updaterConfig);
console.log();

try {
const appPath = join(__dirname, 'resources', 'app');
Expand Down Expand Up @@ -104,15 +106,18 @@ if (isBuilding) {

removeSync(tmpDir);

console.log('=====================');
console.log();
console.log('Copied app to resources');
console.log(join(process.env.APP_PATH, 'dist'));
console.log('=====================');
console.log();
console.log('===================================================================');
console.log(' Starting build...');
console.log();
} catch (e) {
console.error('=====================');
console.error('Error copying app to resources');
console.error();
console.error('Error copying app into build environment');
console.error(e);
console.error('=====================');
console.error();
}

}
Expand Down

0 comments on commit c05e600

Please sign in to comment.