Skip to content

Commit 1fcfcbc

Browse files
Be consistent with macOS
1 parent e66db3a commit 1fcfcbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function makeSingleInstance () {
8383
const url = argv.find(function (arg) {
8484
return /^electron-api-demos:\/\//.test(arg)
8585
})
86-
if (url) app.emit('open-url', null, url.replace(/^electron-api-demos:\/\//, ''))
86+
if (url) app.emit('open-url', null, url)
8787
}
8888
}
8989
})

0 commit comments

Comments
 (0)