Whilst trying to figure out how to configure a URL聽protocol, I saw it was listed at the fileAssocations property.
See: https://www.electron.build/configuration/configuration#PlatformSpecificBuildOptions-fileAssociations
However there are glaring issues with the documentation:
name and role are listed twicename is listed as both required and optional, so which is it?schemes and why is it required?Protocol type? Is that just a string or is it a specific object?Also, are there examples of the different practical usecases for fileAssociations? It's a bit confusing with URL protocol not being file association but being configured here.
I was taking a look at this section too with some confusion... it looks like there is some sort of formatting issue for the list nesting levels. take a look at this: https://github.com/electron-userland/electron-builder/blob/docs/generated/PlatformSpecificBuildOptions.md
This threw me too. It looked like the documentation for what a Protocol object is was totally missing.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
I was taking a look at this section too with some confusion... it looks like there is some sort of formatting issue for the list nesting levels. take a look at this: https://github.com/electron-userland/electron-builder/blob/docs/generated/PlatformSpecificBuildOptions.md