mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
clean out desktop safari app signing
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
require('dotenv').config();
|
||||
const { notarize } = require('electron-notarize');
|
||||
const child = require('child_process');
|
||||
|
||||
exports.default = run;
|
||||
|
||||
@@ -14,13 +13,6 @@ async function run(context) {
|
||||
const macBuild = context.electronPlatformName === 'darwin';
|
||||
|
||||
if (macBuild) {
|
||||
/*
|
||||
console.log('### Sign App w/ Safari Extension');
|
||||
const proc = child.spawn('gulp', ['signMac']);
|
||||
stdOutProc(proc);
|
||||
await new Promise((resolve) => proc.on('close', resolve));
|
||||
*/
|
||||
|
||||
console.log('### Notarizing ' + appPath);
|
||||
return await notarize({
|
||||
appBundleId: 'com.bitwarden.desktop',
|
||||
@@ -30,8 +22,3 @@ async function run(context) {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function stdOutProc(proc) {
|
||||
proc.stdout.on('data', (data) => console.log(data.toString()));
|
||||
proc.stderr.on('data', (data) => console.error(data.toString()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user