Skip to content

Commit

Permalink
log files
Browse files Browse the repository at this point in the history
  • Loading branch information
nicole-obrien committed Oct 12, 2023
1 parent 59dc64f commit 98bb048
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/desktop/electron-builder-config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type { Configuration } from 'electron-builder'
import path from 'path'
import { notarize } from '@electron/notarize'
import fs from 'fs'


const STAGE = process.env.STAGE || 'alpha'

Expand Down Expand Up @@ -75,6 +77,18 @@ async function notarizeMacos(appBundleId, appName): Promise<void> {
}

console.log('appPath:', path.resolve(__dirname, `../out/mac/${appName}.app`),)
fs.readdir(path.resolve(__dirname, '../out/mac'), (err, files) => {
if (err) {
console.error('Error reading directory:', err);
return;
}


console.log('Files at', path.resolve(__dirname, '../out/mac'), ':');
files.forEach(file => {
console.log(file);
});
});

console.log('Notarization - start notarization')
await notarize({
Expand Down

0 comments on commit 98bb048

Please sign in to comment.