fix: send deeplink directly to Chromium session without ignoring CLI launch parameters
This commit is contained in:
parent
4bb57962dc
commit
fe0e04b3ba
1 changed files with 1 additions and 8 deletions
|
|
@ -237,14 +237,7 @@ def main():
|
||||||
else:
|
else:
|
||||||
if chromium_cmd:
|
if chromium_cmd:
|
||||||
try:
|
try:
|
||||||
if pwa_app_id:
|
cmd = chromium_cmd + [deeplink]
|
||||||
cmd = chromium_cmd + [
|
|
||||||
f"--app-id={pwa_app_id}",
|
|
||||||
f"--app-launch-url-for-shortcuts-menu-item={deeplink}",
|
|
||||||
]
|
|
||||||
else:
|
|
||||||
cmd = chromium_cmd + [deeplink]
|
|
||||||
|
|
||||||
subprocess.Popen(
|
subprocess.Popen(
|
||||||
cmd,
|
cmd,
|
||||||
stdout=subprocess.DEVNULL,
|
stdout=subprocess.DEVNULL,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue