Skip to content

Commit 4b24933

Browse files
Merge pull request #226 from PhantomGamers/new-dev
2 parents 39e54a6 + f1a0bce commit 4b24933

40 files changed

+1303
-1197
lines changed

.editorconfig

Lines changed: 304 additions & 195 deletions
Large diffs are not rendered by default.

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
env:
2020
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
25-
- uses: actions/setup-dotnet@v4
25+
- uses: actions/setup-dotnet@v5
2626
with:
27-
dotnet-version: 9.x
27+
dotnet-version: 10.x
2828
cache: true
2929
cache-dependency-path: '**/packages.lock.json'
3030
- run: dotnet restore --locked-mode

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1+
exclude: '(?i)(?:^|[\/])external(?:[\/]|$)'
2+
13
ci:
24
skip: [ dotnet-format ]
35

46
repos:
57
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v5.0.0
8+
rev: v6.0.0
79
hooks:
810
- id: check-added-large-files
911
- id: check-json
1012
- id: check-merge-conflict
1113
- id: check-toml
1214
- id: check-yaml
13-
- id: end-of-file-fixer
1415
- id: trailing-whitespace
16+
args: [--markdown-linebreak-ext=md]
1517
- id: check-xml
1618
- id: detect-private-key
1719
- id: fix-byte-order-marker
@@ -22,5 +24,5 @@ repos:
2224
- id: dotnet-format
2325
name: dotnet-format
2426
language: system
25-
entry: dotnet format --severity info --exclude 'external/' --include
27+
entry: dotnet format --severity info --include
2628
types_or: [ "c#", "vb" ]

Directory.Packages.props

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
<Project>
22
<PropertyGroup>
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4-
<NoWarn>NU1507</NoWarn>
5-
<AvaloniaVersion>11.2.3</AvaloniaVersion>
4+
<AvaloniaVersion>11.3.11</AvaloniaVersion>
65
</PropertyGroup>
76
<ItemGroup>
87
<PackageVersion Include="Avalonia" Version="$(AvaloniaVersion)" />
98
<PackageVersion Include="Avalonia.Desktop" Version="$(AvaloniaVersion)" />
109
<PackageVersion Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)" />
11-
<PackageVersion Include="Avalonia.ReactiveUI" Version="$(AvaloniaVersion)" />
12-
<PackageVersion Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.2" />
10+
<PackageVersion Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.3" />
1311
<PackageVersion Include="Flurl.Http" Version="4.0.2" />
12+
<PackageVersion Include="JetBrains.Annotations" Version="2025.2.4" />
1413
<PackageVersion Include="PuppeteerSharp" Version="8.0.0" />
15-
<PackageVersion Include="ReactiveUI.Fody" Version="19.5.41" />
14+
<PackageVersion Include="ReactiveUI.SourceGenerators" Version="2.6.1" />
15+
<PackageVersion Include="ReactiveUI.Avalonia" Version="11.3.8" />
1616
<PackageVersion Include="Semver" Version="3.0.0" />
1717
<PackageVersion Include="PortableJsonSettingsProvider" Version="0.2.2" />
18-
<PackageVersion Include="NLog" Version="5.3.4" />
19-
<PackageVersion Include="MinVer" Version="6.0.0">
18+
<PackageVersion Include="NLog" Version="6.1.0" />
19+
<PackageVersion Include="MinVer" Version="7.0.0">
2020
<PrivateAssets>all</PrivateAssets>
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2222
</PackageVersion>
23-
<PackageVersion Include="ErrorProne.NET.CoreAnalyzers" Version="0.7.0-beta.1">
23+
<PackageVersion Include="ErrorProne.NET.CoreAnalyzers" Version="0.8.2-beta.1">
2424
<PrivateAssets>all</PrivateAssets>
2525
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2626
</PackageVersion>
2727
<PackageVersion Include="ErrorProne.NET.Structs" Version="0.6.1-beta.1">
2828
<PrivateAssets>all</PrivateAssets>
2929
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
3030
</PackageVersion>
31-
<PackageVersion Include="FileWatcherEx" Version="2.6.0" />
32-
<PackageVersion Include="FluentAvaloniaUI" Version="2.2.0" />
31+
<PackageVersion Include="FileWatcherEx" Version="2.7.0" />
32+
<PackageVersion Include="FluentAvaloniaUI" Version="2.5.0" />
3333
<PackageVersion Include="WindowsShortcutFactory" Version="1.2.0" />
34-
<PackageVersion Include="WmiLight" Version="6.9.1" />
34+
<PackageVersion Include="WmiLight" Version="7.1.0" />
3535
</ItemGroup>
36-
</Project>
36+
</Project>

SFP.sln

Lines changed: 0 additions & 57 deletions
This file was deleted.

SFP.sln.DotSettings

Lines changed: 0 additions & 6 deletions
This file was deleted.

SFP.slnx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Solution>
2+
<Folder Name="/Solution Items/">
3+
<File Path=".editorconfig" />
4+
<File Path=".pre-commit-config.yaml" />
5+
<File Path="createpublishedzip.ps1" />
6+
<File Path="Directory.Packages.props" />
7+
<File Path="README.md" />
8+
<File Path="SFPCommon.props" />
9+
</Folder>
10+
<Folder Name="/Solution Items/.github/">
11+
<File Path=".github/dependabot.yml" />
12+
<File Path=".github/FUNDING.yml" />
13+
</Folder>
14+
<Folder Name="/Solution Items/.github/workflows/">
15+
<File Path=".github/workflows/build.yml" />
16+
<File Path=".github/workflows/publish.yml" />
17+
</Folder>
18+
<Project Path="SFP/SFP.csproj" />
19+
<Project Path="SFP_UI/SFP_UI.csproj" />
20+
</Solution>

SFP/Models/Injection/BrowserEndpoint.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#region
22

33
using System.Text.Json.Serialization;
4+
45
using Flurl;
56
using Flurl.Http;
7+
68
using SFP.Properties;
79

810
#endregion
@@ -47,4 +49,4 @@ internal static async Task<BrowserEndpoint> GetBrowserEndpointAsync()
4749
throw;
4850
}
4951
}
50-
}
52+
}

SFP/Models/Injection/Config/MillenniumConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ public class Patch
2626
public class MillenniumConfig
2727
{
2828
[JsonPropertyName("patch")] public IEnumerable<Patch> Patch { get; init; } = [];
29-
}
29+
}

0 commit comments

Comments
 (0)