Skip to content

Commit 2cf476d

Browse files
authored
docs: update debugging note for Azure Trusted Signing (#233)
1 parent 2316d9d commit 2cf476d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

guides/code-signing/code-signing-windows.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Then install the dependencies for local code signing as described [here](https:/
7878
In your project directory, do the following:
7979

8080
1. Install the `dotenv-cli` package: `npm i -D dotenv-cli`
81-
2. Update `@electron/windows-sign` to version 1.2.0 or later: `npm update @electron/windows-sign`
81+
2. Update `@electron/windows-sign` to version 1.2.2 or later: `npm update @electron/windows-sign`
8282

8383
#### Creating the `.env.trustedsigning` file
8484

@@ -144,7 +144,9 @@ Some notes:
144144

145145
We specify the `/v` and `/debug` parameters even though they aren't technically required. This ensures that warnings are logged if timestamping fails.
146146

147-
**Do not** use the `debug` parameter on the `WindowsSignOptions`. Similarly, **do not** enable the `DEBUG` environment variable for `electron-windows-sign`. (If you do either of them, the `debug` npm package will log all debug messages to stderr. An executable in `@electron/windows-sign` will interpret the existence of messages printed to stderr as a signing failure. Then your build will fail.)
147+
{% hint style="info" %}
148+
Set the environment variable `DEBUG` to `electron-windows-sign` to get verbose debug output while signing.
149+
{% endhint %}
148150

149151
#### Adjusting your `forge.config.ts`
150152

0 commit comments

Comments
 (0)