mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-07-29 13:11:22 +00:00
build
config
core
crypto
img
lib
locales
plugins
scripts
add-debian-apt-repo.sh
afterPack.js
notarize.js
uninstall-debian-conf.sh
snap
splash
.editorconfig
.eslintrc.json
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
build-setup.js
build.bat
build.js
build.sh
electron-builder.yml
electron.js
install-dependencies.sh
package-lock.json
package.json
push-updates-with-travis-build.sh
run_server.bat
server.js
set-up-snap.sh
watch-inline.js
watch.js
21 lines
574 B
JavaScript
21 lines
574 B
JavaScript
require('dotenv').config();
|
|
const { notarize } = require('@electron/notarize');
|
|
|
|
exports.default = async function notarizing(context) {
|
|
const { electronPlatformName, appOutDir } = context;
|
|
if (electronPlatformName !== 'darwin') {
|
|
return;
|
|
}
|
|
|
|
const appName = context.packager.appInfo.productFilename;
|
|
|
|
return await notarize({
|
|
appBundleId: 'org.qortal.QortalUI',
|
|
appPath: `${appOutDir}/${appName}.app`,
|
|
tool: "notarytool",
|
|
teamId: process.env.APPLETEAMID,
|
|
appleId: process.env.APPLEID,
|
|
appleIdPassword: process.env.APPLEIDPASS,
|
|
});
|
|
};
|