Skip to content

Commit

Permalink
Pass the protocol in the package.json in build section
Browse files Browse the repository at this point in the history
To register a custom protocol for your Electron application across all platforms (Windows, macOS, and Linux), you can define it in the build section of your package.json file using the protocols property provided by electron-builder.
  • Loading branch information
avijitdas126 committed Feb 8, 2025
1 parent 58206cb commit 3324969
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
"build": {
"appId": "org.zulip.zulip-electron",
"asar": true,
"protocols": [
{
"name": "Zulip",
"schemes": [
"zulip"
]
}
],
"asarUnpack": [
"**/*.node"
],
Expand Down

0 comments on commit 3324969

Please sign in to comment.