Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/main-process/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function handlePossibleProtocolLauncherArgs(args: ReadonlyArray<string>) {
// so we should filter out the program name as well as any parameters that
// look like arguments to Electron
const argsWithoutParameters = args.filter(
a => a !== 'github-desktop' && !a.startsWith('--')
a => !a.endsWith('github-desktop') && !a.startsWith('--')
)
if (argsWithoutParameters.length > 0) {
handleAppURL(argsWithoutParameters[0])
Expand Down