Open spacewalkingninja opened 1 year ago
Hello,
So I got Firefox to open using custom as the mode, this then runs the cmdline_args specified
eel.start(
"main.html",
mode="custom",
port=8000,
cmdline_args=[
r"C:\Program Files\Mozilla Firefox\firefox.exe",
"https://localhost:8000",
"--new-instance ",
"-P 'app' ",
"--new-window",
],
)
The above opened my "Hello World" page in Firefox, not sure if the other args worked, "--kiosk" does make it Fullscreen so they are being passed to Firefox but I'm not exactly sure what the profiles do in Firefox.
Thanks
Eel version Main, latest commit https://github.com/python-eel/Eel/commit/505176162e0bc339be843e6e9a5d205fa20c0837
Describe the bug Firefox won't run with flag commands. Following the instructions I've see I should be doing (this is from an edited file_access example):
import eel, os, random import eel.browsers eel.browsers.set_path('firefox', 'C:\Program Files\Mozilla Firefox\firefox.exe') brmode = 'firefox' ... eel.start('file_access.html', size=(320, 120), mode=brmode, cmdline_args=["--new-instance ", "-P 'app' ", "--new-window"])
To Reproduce Steps to reproduce the behavior, start eel on windows 10 with Firefox 109.0.1 and make a custom profile (I am using one with a modified userChrome.css so that I can recreate a windows xp styled window.)
Expected behavior Firefox should be able to receive the cmdline arguments just as it does when these arguments are ran from the command line or Win+R.
System Information