Updated icons and references to Noodl, plus build scripts

This commit is contained in:
Richard Osborne
2024-05-02 22:23:53 +02:00
parent ecf124d43d
commit 91fc18437b
19 changed files with 747 additions and 59 deletions

View File

@@ -1,6 +1,5 @@
const fs = require('fs');
const path = require('path');
var electron_notarize = require('electron-notarize');
module.exports = async function (params) {
if (process.platform !== 'darwin') {
@@ -12,7 +11,7 @@ module.exports = async function (params) {
return;
}
const appId = 'noodl.net.noodl';
const appId = 'com.code-crusher.app';
const appPath = path.join(params.appOutDir, `${params.packager.appInfo.productFilename}.app`);
if (!fs.existsSync(appPath)) {
@@ -22,6 +21,7 @@ module.exports = async function (params) {
console.log(`Notarizing ${appId} found at ${appPath}`);
try {
const electron_notarize = require('electron-notarize');
await electron_notarize.notarize({
appBundleId: appId,
appPath: appPath,