Skip to content
Snippets Groups Projects
Commit e906b965 authored by Tom French's avatar Tom French Committed by James Long
Browse files

docs: add comment explaining how to reactivate code signing

parent d6eb0d9d
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,12 @@ const fs = require('fs'); ...@@ -2,6 +2,12 @@ const fs = require('fs');
const path = require('path'); const path = require('path');
var electron_notarize = require('electron-notarize'); var electron_notarize = require('electron-notarize');
// This is expected to be run by `electron-builder` after it signs the build.
// It's disabled for now as we currently don't sign builds after Actual being open sourced.
// To start signing builds again:
// - add the property `"afterSign": "./afterSignHook.js"` to the `build` object in package.json.
// - add the property `"certificateSubjectName": "Shift Reset LLC"` (or similar) to the `win` object in package.json.
module.exports = async function(params) { module.exports = async function(params) {
// Only notarize the app on Mac OS only. // Only notarize the app on Mac OS only.
if (process.platform !== 'darwin' || process.env['SKIP_NOTARIZATION']) { if (process.platform !== 'darwin' || process.env['SKIP_NOTARIZATION']) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment