Skip to content

Commit be77ff7

Browse files
Allow passing excess CLI arguments to Electron (#1817)
1 parent d79d93c commit be77ff7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

gui/electron/main/cli.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ program
88
'--skip-server-if-running',
99
'gui will not launch the server if it is already running'
1010
)
11-
.allowUnknownOption();
11+
.allowUnknownOption()
12+
// Allow passing arguments to Electron.
13+
.allowExcessArguments();
1214

1315
if (process.platform === "linux") {
1416
const noUdevOption = new Option('--no-udev', 'disable udev warning');

0 commit comments

Comments
 (0)