Skip to content

Commit 9b8309e

Browse files
committed
Don't render chromium path unless in debug builds
1 parent f28b88f commit 9b8309e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dotnet-chromium/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
return -1;
1111
}
1212

13+
#if DEBUG
1314
Console.WriteLine($"Located compatible Chromium at {Chromium.Path}");
15+
#endif
1416

1517
using var playwright = await Playwright.CreateAsync();
1618
await using var browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions

0 commit comments

Comments
 (0)