diff --git a/docs/tutorial/code-signing.md b/docs/tutorial/code-signing.md index 5d6b16216ea4..f8e34468dea8 100644 --- a/docs/tutorial/code-signing.md +++ b/docs/tutorial/code-signing.md @@ -133,7 +133,7 @@ are likely using [`electron-packager`], which includes [`electron-osx-sign`] and If you're using Packager's API, you can pass [in configuration that both signs and notarizes your -application](https://electron.github.io/electron-packager/master/interfaces/electronpackager.options.html). +application](https://electron.github.io/electron-packager/main/interfaces/electronpackager.options.html). ```js const packager = require('electron-packager') diff --git a/docs/tutorial/dark-mode.md b/docs/tutorial/dark-mode.md index 430fc0eea3a8..b6777da28434 100644 --- a/docs/tutorial/dark-mode.md +++ b/docs/tutorial/dark-mode.md @@ -200,6 +200,6 @@ Run the example using Electron Fiddle and then click the "Toggle Dark Mode" butt [system-wide-dark-mode]: https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/dark-mode/ [electron-forge]: https://www.electronforge.io/ [electron-packager]: https://github.com/electron/electron-packager -[packager-darwindarkmode-api]: https://electron.github.io/electron-packager/master/interfaces/electronpackager.options.html#darwindarkmodesupport +[packager-darwindarkmode-api]: https://electron.github.io/electron-packager/main/interfaces/electronpackager.options.html#darwindarkmodesupport [prefers-color-scheme]: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme [event-listeners]: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener