mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 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
|
argStart = 2
|
||||||
}
|
}
|
||||||
for (let i = argStart; i < process.argv.length; i++) {
|
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
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue