Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
filfreire committed Oct 16, 2024
1 parent 088dc55 commit 62a1e28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/insomnia/customSign.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ const util = require('util');
const path = require('path');
const execAsync = util.promisify(exec);

// adapted from https://www.electron.build/win.html#how-do-delegate-code-signing
// It was possible code-sign installer after packaging, but some files are only available
// through hooking into the signing step of electron-builder while the final squirrel installer is being built
// This makes it possible to sign the Update.exe and stub of Insomnia.exe that end up in C:\Users\<user>\AppData\Local\insomnia
exports.default = async function(configuration) {
// skip signing if not windows squirrel
if (configuration.options.target.length === 0 || configuration.options.target[0].target !== 'squirrel') {
Expand Down

0 comments on commit 62a1e28

Please sign in to comment.