This is a backport PR for branch 40-x-y
trop[bot]

#49501: fix: second argument to shell.writeShortcutLink is optional

Open
Created: Jan 23, 2026, 10:25:04 AM
0 comments
Target: 40-x-y

Backport of #49476

See that PR for details.

Notes: Fixed an issue where shell.writeShortcutLink was throwing TypeError: Insufficient number of arguments when called with just [(path, options)].

Backport Information

Original PR Author
codebytere
Original PR Status
Merged
Original PR Merged At
Jan 23, 2026, 10:24:48 AM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron