Skip to content

Commit 9d66fb9

Browse files
Copilotkzu
andcommitted
Bump Chromium package to .NET 8
Agent-Logs-Url: https://github.com/devlooped/chromium/sessions/418141b1-efc7-4dbf-9653-4e592091a292 Co-authored-by: kzu <169707+kzu@users.noreply.github.com>
1 parent 23820b9 commit 9d66fb9

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/dotnet.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
[
2-
"6.x",
32
"8.x"
43
]

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![License](https://img.shields.io/github/license/devlooped/chromium.svg?color=blue)](https://github.com/devlooped/chromium/blob/main/license.txt)
77
[![Build](https://github.com/devlooped/chromium/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/devlooped/chromium/actions)
88

9-
Chromium for .NET 6+.
9+
Chromium for .NET 8+.
1010

1111
This project allows running a portable embedded version of Chromium from
1212
either a .NET CLI tool or a regular .NET application without having to install

src/chromium/Chromium.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ from lib in target.Libraries
5353
from native in lib.RuntimeTargets
5454
where native.Runtime == runtime.Runtime &&
5555
System.IO.Path.GetFileName(native.Path) == chromeFile &&
56-
!string.IsNullOrEmpty(lib.Name) &&
56+
!string.IsNullOrEmpty(lib.Name) &&
5757
lib.Version != null
5858
let file = new FileInfo(System.IO.Path.Combine(rootDir, lib.Name!, lib.Version!.ToString(), native.Path))
5959
where file.Exists
@@ -62,4 +62,4 @@ where file.Exists
6262
Path = nativeFiles.FirstOrDefault();
6363
}
6464
}
65-
}
65+
}

src/chromium/chromium.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<PackageId>chromium</PackageId>
66
<Description>Provides a dynamic locator of the referenced chromium native runtime via the Chromium.Path property.</Description>
77
</PropertyGroup>

0 commit comments

Comments
 (0)