Skip to content

Commit

Permalink
try disabling sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Jan 24, 2025
1 parent a55c69b commit 2badd2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/HTTPServer/browser-display.jl
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ struct ElectronDisplay{EWindow} <: Base.Multimedia.AbstractDisplay
end

function ElectronDisplay(; devtools = false)
app = Electron().Application(; additional_electron_args=["--disable-logging"])
app = Electron().Application(;
additional_electron_args=["--disable-logging", "--no-sandbox"]
)
w = Electron().Window(app)
devtools && Electron().toggle_devtools(w)
return ElectronDisplay(w, BrowserDisplay(; open_browser=false))
Expand Down

0 comments on commit 2badd2d

Please sign in to comment.