Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add support for .NET 6.0 to run game mode on Linux #205

Merged
merged 6 commits into from
Nov 3, 2024

Conversation

MrDave1999
Copy link
Owner

@MrDave1999 MrDave1999 commented Nov 3, 2024

This PR enables the game mode to run on Linux using the following runtime:
https://github.com/Servarr/dotnet-linux-x86/releases/tag/v6.0.32-96

The reason for this change is because “Int32.IsEvenInteger” is only available as of .NET 7.0.
The reason for this change is that “TimeProvider” is only available as of .NET 8.0.
See https://learn.microsoft.com/en-us/dotnet/api/system.timeprovider?view=net-8.0
The reason for this change is that the “GeneratedRegex” attribute is only available as of .NET 7.0.
See https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.generatedregexattribute
The reason for this change is that the “required” keyword is only available as of .NET 7.0.
@MrDave1999 MrDave1999 changed the title chore: Add support for .net 6.0 chore: Add support for .NET 6.0 Nov 3, 2024
@MrDave1999 MrDave1999 changed the title chore: Add support for .NET 6.0 chore: Add support for .NET 6.0 to run game mode on Linux Nov 3, 2024
@MrDave1999 MrDave1999 marked this pull request as ready for review November 3, 2024 15:00
@MrDave1999 MrDave1999 merged commit 2cfd947 into dev Nov 3, 2024
2 checks passed
@MrDave1999 MrDave1999 deleted the support/net6.0 branch November 3, 2024 15:01
@MrDave1999 MrDave1999 added the chore Changes that do not add a new feature, fix a bug, or improve the code label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Changes that do not add a new feature, fix a bug, or improve the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant