Eugene Pankov 6 年之前
父节点
当前提交
2188eef202
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      build/mac/afterSignHook.js

+ 2 - 1
build/mac/afterSignHook.js

@@ -5,8 +5,9 @@ const path = require('path')
 const notarizer = require('electron-notarize')
 
 module.exports = async function (params) {
+    console.log('env: ', process.env)
     // notarize the app on Mac OS only.
-    if (process.platform !== 'darwin' || process.env.BRANCH !== 'refs/heads/master') {
+    if (process.platform !== 'darwin'){// || process.env.BRANCH !== 'refs/heads/master') {
         return
     }
     console.log('afterSign hook triggered', params)