move macos build files to resources, fix date for i18n
This commit is contained in:
parent
2108dd5975
commit
3e8df50847
6 changed files with 13 additions and 25 deletions
20
resources/notarize.js
Normal file
20
resources/notarize.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
|
||||
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: 'com.ciderapp.cider',
|
||||
appPath: `${appOutDir}/${appName}.app`,
|
||||
appleId: process.env.APPLEID,
|
||||
appleIdPassword: process.env.APPLEIDPASS,
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue