mirror of
https://github.com/fluxscape/fluxscape.git
synced 2026-01-11 23:02:55 +01:00
fix(build): macos-notarize.js
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
var electron_notarize = require('electron-notarize');
|
|
||||||
|
|
||||||
module.exports = async function (params) {
|
module.exports = async function (params) {
|
||||||
if (process.platform !== 'darwin') {
|
if (process.platform !== 'darwin') {
|
||||||
@@ -22,6 +21,7 @@ module.exports = async function (params) {
|
|||||||
console.log(`Notarizing ${appId} found at ${appPath}`);
|
console.log(`Notarizing ${appId} found at ${appPath}`);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
const electron_notarize = require('electron-notarize');
|
||||||
await electron_notarize.notarize({
|
await electron_notarize.notarize({
|
||||||
appBundleId: appId,
|
appBundleId: appId,
|
||||||
appPath: appPath,
|
appPath: appPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user