You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have registered a custom URL protocol handler following this Electron walkthrough on Deep Links. When I run my application's executable in the win-unpacked folder and navigate to a URL with my registered scheme, Chrome and Firefox ask me if I want to open my application (with the application's name):
However, when I run my application's portable build and navigate to a URL with my registered scheme, Chrome and Firefox both asks me if I want to open my application's description:
I don't know where these applications are getting the text to display on these pop-ups. Nothing in the Registry's URL-protocol-related keys seems to contain the name or the description, so I imagine it's not getting it from there. I renamed the portable executable to be the exact same name as the win-unpacked executable, but that didn't change anything. I did notice the description in the file metadata is just the name in the win-unpacked version but is the actual description in the portable version:
win-unpacked version:
Portable version:
I thought maybe #8599 was possibly related in some way, so I tried electron-builder 26.0.0-alpha.9, but that didn't seem to change anything.
Any ideas? Thank you very much!
The text was updated successfully, but these errors were encountered:
Re: the difference between win-unpacked versus portable/installed, I think that's because running from win-unpacked only has the URL protocol handler set during electron runtime, whereas running a portable or installed application has executed the NSIS script files (thus having run the APP_ASSOCIATE macro to register the nsis metadata)
FYI I just tried with the installed version of the application (it went into %localappdata%/Programs), and it seems it says the application name. Not sure how this affects consideration. Thanks for looking into it!
electron-builder
version: 25.1.8, 26.0.0-alpha.9Full
electron-builder.json5
ConfigurationRelevant parts of `electron-builder.json5` Configuration
release/app/package.json
(The oneelectron-builder
uses as configured bydirectories.app
):I have registered a custom URL protocol handler following this Electron walkthrough on Deep Links. When I run my application's executable in the
win-unpacked
folder and navigate to a URL with my registered scheme, Chrome and Firefox ask me if I want to open my application (with the application's name):However, when I run my application's portable build and navigate to a URL with my registered scheme, Chrome and Firefox both asks me if I want to open my application's description:
I don't know where these applications are getting the text to display on these pop-ups. Nothing in the Registry's URL-protocol-related keys seems to contain the name or the description, so I imagine it's not getting it from there. I renamed the portable executable to be the exact same name as the
win-unpacked
executable, but that didn't change anything. I did notice the description in the file metadata is just the name in thewin-unpacked
version but is the actual description in the portable version:win-unpacked
version:Portable version:
I thought maybe #8599 was possibly related in some way, so I tried
electron-builder
26.0.0-alpha.9, but that didn't seem to change anything.Any ideas? Thank you very much!
The text was updated successfully, but these errors were encountered: