Repository navigation
docs: add API documentation for app.setDesktopName - #51426
Merged
Merged
Conversation
3 tasks done
mitchchn
force-pushed
the
mitch/app-setdesktopname
branch
from
May 1, 2026 00:23
2c55a98 to
3ff8a91
Compare
dsanders11
approved these changes
May 1, 2026
mitchchn
force-pushed
the
mitch/app-setdesktopname
branch
from
May 1, 2026 02:05
3ff8a91 to
7299317
Compare
Member
|
@mitchchn Would you be able to rebase this PR? Looks like we have conflicts. |
3 tasks done
mitchchn
force-pushed
the
mitch/app-setdesktopname
branch
from
May 22, 2026 21:01
14a3aca to
8448383
Compare
mitchchn
force-pushed
the
mitch/app-setdesktopname
branch
from
May 22, 2026 22:00
8448383 to
290e795
Compare
Co-authored-by: Will Anderson <[email protected]>
mitchchn
force-pushed
the
mitch/app-setdesktopname
branch
from
May 30, 2026 20:22
290e795 to
cb96b3d
Compare
|
Release Notes Persisted
|
Contributor
|
I have automatically backported this PR to "41-x-y", please check out #51925 |
Contributor
|
I have automatically backported this PR to "43-x-y", please check out #51926 |
Contributor
|
I have automatically backported this PR to "42-x-y", please check out #51927 |
Contributor
|
I have automatically backported this PR to "40-x-y", please check out #51928 |
KanishkRanjan
pushed a commit
to KanishkRanjan/electron
that referenced
this pull request
Jun 11, 2026
* docs: add API documentation for app.setDesktopName * Update docs/api/app.md Co-authored-by: Will Anderson <[email protected]> --------- Co-authored-by: Will Anderson <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
app.setDesktopNameis not a new API, but it had no API documentation and therefore no generated types, so it was practically undiscoverable. The same is true for thedesktopNameproperty inpackage.json, which was only mentioned in passing in documentation about progress bars for Unity.I've documented the API and property and made the case for why it's important for developers to set this value explicitly, as no matter how we set the default value, it should not be depended on by apps if they want to provide the best experience on Linux.
Refs #51375.
Checklist
npm testpassesRelease Notes
Notes: Added documentation for
app.setDesktopNameand thedesktopNameproperty inpackage.jsonfor Linux.