This commit is contained in:
@@ -460,6 +460,13 @@ namespace AyaNova.Biz
|
||||
|
||||
|
||||
var lo = new LaunchOptions { Headless = true };
|
||||
|
||||
|
||||
//TODO: this needs to be changed to a config variable to trigger automatically downloading chromium and in docker distro set it to false
|
||||
//so maybe what is needed is to specify chromium executable path and if not set then it attempts a download automatically
|
||||
//that would cover many scenarios beyond docker / linux desktop
|
||||
|
||||
|
||||
bool isWindows = System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.Windows);
|
||||
if (!isWindows)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user