🎨 Support set Chromium command line arguments on the desktop https://github.com/siyuan-note/siyuan/issues/9696
This commit is contained in:
parent
5a727078be
commit
1399757e76
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ if (!app.isPackaged) {
|
|||
argStart = 2
|
||||
}
|
||||
for (let i = argStart; i < process.argv.length; i++) {
|
||||
if (process.argv[i].startsWith("--workspace=") || process.argv[i].startsWith("--port=")) {
|
||||
if (process.argv[i].startsWith("--workspace=") || process.argv[i].startsWith("--port=") || process.argv[i].startsWith("siyuan://")) {
|
||||
// 跳过内置参数
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue