1 Star 2 Fork 2

polokk / balena-io-etcher

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
afterSignHook.js 522 Bytes
一键复制 编辑 原始数据 按行查看 历史
'use strict'
const { notarize } = require('electron-notarize')
async function main(context) {
const { electronPlatformName, appOutDir } = context
if (electronPlatformName !== 'darwin') {
return
}
const appName = context.packager.appInfo.productFilename
const appleId = 'accounts+apple@balena.io'
await notarize({
appBundleId: 'io.balena.etcher',
appPath: `${appOutDir}/${appName}.app`,
appleId,
appleIdPassword: `@keychain:Application Loader: ${appleId}`
})
}
exports.default = main
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/polokk/balena-io-etcher.git
git@gitee.com:polokk/balena-io-etcher.git
polokk
balena-io-etcher
balena-io-etcher
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891