Fix tobspr-osx-sign issues

pull/1425/merge
tobspr 2 years ago
parent 7734cefc65
commit 50e92bb42f

@ -112,9 +112,11 @@
"postcss-unprefix": "^2.1.3",
"sass-unused": "^0.3.0",
"strip-json-comments": "^3.0.1",
"tobspr-osx-sign": "^1.0.1",
"trim": "^0.0.1",
"webpack-stream": "^5.2.1",
"yaml-loader": "^0.6.0"
},
"optionalDependencies": {
"tobspr-osx-sign": "^1.0.1"
}
}

@ -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 = [

@ -12342,7 +12342,6 @@ to-through@^2.0.0:
through2 "^2.0.3"
tobspr-osx-sign@^1.0.1:
name electron-osx-sign
version "1.0.1"
resolved "https://registry.yarnpkg.com/tobspr-osx-sign/-/tobspr-osx-sign-1.0.1.tgz#5cca32185d813357b556a6a839305558656c45d5"
integrity sha512-jXSw9n/ivAnHwwpImvHnTkhbeI06ZDvLKLP3rryZLBoAt1nfljoIEgdPz7vNlOUBGwVEYOl2VauViNOmZPNZ7A==

Loading…
Cancel
Save