This commit is contained in:
2021-12-07 21:41:43 +00:00
parent f561b9a80a
commit 52727923e2
2 changed files with 11 additions and 1 deletions

View File

@@ -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)
{