Fix tobspr-osx-sign issues

This commit is contained in:
tobspr 2022-05-30 07:00:14 +02:00
parent 7734cefc65
commit 50e92bb42f
3 changed files with 10 additions and 3 deletions

View file

@ -8,7 +8,13 @@ const fse = require("fs-extra");
const buildutils = require("./buildutils");
const execSync = require("child_process").execSync;
const electronNotarize = require("electron-notarize");
const { signAsync } = require("tobspr-osx-sign");
let signAsync;
try {
signAsync = require("tobspr-osx-sign").signAsync;
} catch (ex) {
console.warn("tobspr-osx-sign not installed, can not create osx builds");
}
function gulptasksStandalone($, gulp) {
const targets = [