Skip to content

Commit

Permalink
v2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutterfield committed Dec 16, 2024
1 parent f22013b commit 841c1b6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "../umbraco-package-schema.json",
"name": "Umbraco.Community.Sustainability",
"id": "Umbraco.Community.Sustainability",
"version": "2.0.5",
"version": "2.0.6",
"allowTelemetry": true,
"extensions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ internal class SustainabilityComposer : IComposer
{
public void Compose(IUmbracoBuilder builder)
{
var exitCode = Microsoft.Playwright.Program.Main(new[] { "install" });
string value = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Environment.SetEnvironmentVariable("PLAYWRIGHT_BROWSERS_PATH", $"{value}{Path.DirectorySeparatorChar}ms-playwright");

var exitCode = Microsoft.Playwright.Program.Main(new[] { "install", "chromium" });
if (exitCode != 0)
{
throw new Exception($"Playwright exited with code {exitCode}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<RootNamespace>Umbraco.Community.Sustainability</RootNamespace>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>

<VersionPrefix>2.0.5</VersionPrefix>
<VersionPrefix>2.0.6</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>Umbraco Sustainability Community Team</Authors>
<Copyright>$([System.DateTime]::UtcNow.ToString(`yyyy`)) © Umbraco Sustainability Community Team</Copyright>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "../umbraco-package-schema.json",
"name": "Umbraco.Community.Sustainability",
"id": "Umbraco.Community.Sustainability",
"version": "2.0.5",
"version": "2.0.6",
"allowTelemetry": true,
"extensions": [
{
Expand Down

0 comments on commit 841c1b6

Please sign in to comment.