Skip to content

Commit 41ed7ac

Browse files
committed
Attempt to fix GitHub login
1 parent 0d9961e commit 41ed7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main-process/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ async function handleCommandLineArguments(argv: string[]) {
249249
// line arguments might be added by Chromium
250250
// (https://electronjs.org/docs/api/app#event-second-instance).
251251

252-
if (__WIN32__ && args['protocol-launcher'] === true) {
252+
if (__LINUX__ || (__WIN32__ && args['protocol-launcher'] === true)) {
253253
// On Windows we'll end up getting called with something like
254254
// `--protocol-launcher --allow-file-access-from-files x-github-client://..`
255255
// which minimist naturally interprets as

0 commit comments

Comments
 (0)