From 5e5b267b973780352483c5b49a9365d8d98cde62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 11 Jan 2026 20:57:36 +0100 Subject: [PATCH 1/8] Bump actions/checkout from 4 to 6 (#106) Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/dotnet-core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index e297113..7f941f5 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -18,7 +18,7 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - if: matrix.os == 'ubuntu-22.04' name: Install Linux packages From 9dbd30c7e7a5ca6631b1fc0d59d29ec9b9deacbd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 11 Jan 2026 21:02:25 +0100 Subject: [PATCH 2/8] Bump actions/upload-artifact from 4 to 6 (#107) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/dotnet-core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 7f941f5..3f98e99 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -38,7 +38,7 @@ jobs: run: dotnet publish "LocalAdmin V2.csproj" -r ${{ matrix.target }} -c release -o "${{ github.workspace }}/builds/${{ matrix.framework }}/${{ matrix.target }}" - name: Upload ${{ matrix.target }} Build - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: LocalAdmin-${{ matrix.target }}-${{ matrix.framework }} path: ${{ github.workspace }}/builds/${{ matrix.framework }}/${{ matrix.target }} From f3eaee45e6173ad7e6f43d8d9544c56a32d1dc63 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 11 Jan 2026 21:06:15 +0100 Subject: [PATCH 3/8] Bump actions/setup-dotnet from 4 to 5 (#103) Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4 to 5. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](https://github.com/actions/setup-dotnet/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/dotnet-core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 3f98e99..554d484 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -27,7 +27,7 @@ jobs: sudo apt-get install -y build-essential libkrb5-dev make gcc libc-dev cmake llvm - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: ${{ matrix.framework }} From 33565037045cad5f6abca21964c7998b551b3803 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 29 Mar 2026 16:44:52 +0200 Subject: [PATCH 4/8] Bump actions/upload-artifact from 6 to 7 (#108) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/dotnet-core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 554d484..3cab037 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -38,7 +38,7 @@ jobs: run: dotnet publish "LocalAdmin V2.csproj" -r ${{ matrix.target }} -c release -o "${{ github.workspace }}/builds/${{ matrix.framework }}/${{ matrix.target }}" - name: Upload ${{ matrix.target }} Build - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: LocalAdmin-${{ matrix.target }}-${{ matrix.framework }} path: ${{ github.workspace }}/builds/${{ matrix.framework }}/${{ matrix.target }} From f982f17280061f57490cfb901c9d19a3887cbff9 Mon Sep 17 00:00:00 2001 From: elimssmile <131522279+3limssmile@users.noreply.github.com> Date: Tue, 31 Mar 2026 18:18:38 +0200 Subject: [PATCH 5/8] Copyright year bump (#109) * Copyright year bump Updated copyright year from 2025 to 2026. * Update copyright year from 2025 to 2026 * Update copyright year in project file Updated copyright year from 2025 to 2026. --- Commands/LicenseCommand.cs | 4 ++-- LICENSE | 2 +- LocalAdmin V2.csproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/LicenseCommand.cs b/Commands/LicenseCommand.cs index b38adce..2511869 100644 --- a/Commands/LicenseCommand.cs +++ b/Commands/LicenseCommand.cs @@ -11,7 +11,7 @@ public LicenseCommand() : base("License", "Prints LocalAdmin license details.") internal override void Execute(string[] arguments) { ConsoleUtil.WriteLine("MIT License", ConsoleColor.Cyan); - ConsoleUtil.WriteLine("Copyright by Łukasz \"zabszk\" Jurczyk and KernelError, 2019 - 2025", ConsoleColor.Gray); + ConsoleUtil.WriteLine("Copyright by Łukasz \"zabszk\" Jurczyk and KernelError, 2019 - 2026", ConsoleColor.Gray); ConsoleUtil.WriteLine("Permission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:", ConsoleColor.Gray); ConsoleUtil.WriteLine("\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.", ConsoleColor.Gray); ConsoleUtil.WriteLine("\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.", ConsoleColor.Gray); @@ -19,4 +19,4 @@ internal override void Execute(string[] arguments) ConsoleUtil.WriteLine("", ConsoleColor.Gray); ConsoleUtil.WriteLine("LocalAdmin includes Utf8Json developed by Yoshifumi Kawai licensed under The MIT License.", ConsoleColor.Gray); } -} \ No newline at end of file +} diff --git a/LICENSE b/LICENSE index e636579..7ebd41a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 - 2025 Łukasz "zabszk" Jurczyk and KernelError +Copyright (c) 2019 - 2026 Łukasz "zabszk" Jurczyk and KernelError Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/LocalAdmin V2.csproj b/LocalAdmin V2.csproj index 203ce7b..e05815c 100644 --- a/LocalAdmin V2.csproj +++ b/LocalAdmin V2.csproj @@ -13,7 +13,7 @@ LocalAdmin V2 Northwood Studios Łukasz "zabszk" Jurczyk, KernelError - Copyright by Łukasz "zabszk" Jurczyk and KernelError, 2019 - 2025 + Copyright by Łukasz "zabszk" Jurczyk and KernelError, 2019 - 2026 true false From 765bf77d830a15790ff60daf109f2fb126cac1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jurczyk?= Date: Tue, 31 Mar 2026 18:22:26 +0200 Subject: [PATCH 6/8] Updated to .NET 10 (#110) * NET 10 * Empty line removed --- Commands/LicenseCommand.cs | 2 +- Core/LocalAdmin.cs | 2 +- Core/StartupArgManager.cs | 2 +- Core/TcpServer.cs | 2 +- LocalAdmin V2.csproj | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Commands/LicenseCommand.cs b/Commands/LicenseCommand.cs index 2511869..96f74ff 100644 --- a/Commands/LicenseCommand.cs +++ b/Commands/LicenseCommand.cs @@ -19,4 +19,4 @@ internal override void Execute(string[] arguments) ConsoleUtil.WriteLine("", ConsoleColor.Gray); ConsoleUtil.WriteLine("LocalAdmin includes Utf8Json developed by Yoshifumi Kawai licensed under The MIT License.", ConsoleColor.Gray); } -} +} \ No newline at end of file diff --git a/Core/LocalAdmin.cs b/Core/LocalAdmin.cs index 45938e0..92d5aaa 100644 --- a/Core/LocalAdmin.cs +++ b/Core/LocalAdmin.cs @@ -613,7 +613,7 @@ private static void Menu() ConsoleUtil.WriteLine($"SCP: Secret Laboratory - LocalAdmin v. {VersionString}", ConsoleColor.Cyan); ConsoleUtil.WriteLine(string.Empty, ConsoleColor.Cyan); ConsoleUtil.WriteLine("Licensed under The MIT License (use command \"license\" to get license text).", ConsoleColor.Cyan); - ConsoleUtil.WriteLine("Copyright by Łukasz \"zabszk\" Jurczyk and KernelError, 2019 - 2025", ConsoleColor.Cyan); + ConsoleUtil.WriteLine("Copyright by Łukasz \"zabszk\" Jurczyk and KernelError, 2019 - 2026", ConsoleColor.Cyan); ConsoleUtil.WriteLine(string.Empty, ConsoleColor.Cyan); ConsoleUtil.WriteLine("Type 'help' to get list of available commands.", ConsoleColor.Cyan); ConsoleUtil.WriteLine(string.Empty, ConsoleColor.Cyan); diff --git a/Core/StartupArgManager.cs b/Core/StartupArgManager.cs index 26cd394..ce11c64 100644 --- a/Core/StartupArgManager.cs +++ b/Core/StartupArgManager.cs @@ -30,7 +30,7 @@ public static string[] MergeStartupArgs(IEnumerable cmdArgs) if (!File.Exists(StartupArgsPath)) return startupArgs.ToArray(); - startupArgs.AddRange(File.ReadAllLines(StartupArgsPath).Where(arg => !arg.StartsWith("#", StringComparison.Ordinal))); + startupArgs.AddRange(File.ReadAllLines(StartupArgsPath).Where(arg => !arg.StartsWith('#'))); return startupArgs.ToArray(); } catch (Exception ex) diff --git a/Core/TcpServer.cs b/Core/TcpServer.cs index dc0270d..8b8a4eb 100644 --- a/Core/TcpServer.cs +++ b/Core/TcpServer.cs @@ -212,7 +212,7 @@ public void WriteLine(string input) return; } - MemoryMarshal.Cast(buffer)[0] = length; + MemoryMarshal.Write(buffer, length); _networkStream!.Write(buffer, 0, length + offset); ArrayPool.Shared.Return(buffer); diff --git a/LocalAdmin V2.csproj b/LocalAdmin V2.csproj index e05815c..029b907 100644 --- a/LocalAdmin V2.csproj +++ b/LocalAdmin V2.csproj @@ -3,9 +3,9 @@ Exe true net8.0-windows - net8.0 + net10.0 app.manifest - 10 + 14 enable LocalAdmin.V2 LocalAdmin From 6f5f936119284084bdd0ecc34c8175b8cc52b383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jurczyk?= Date: Tue, 31 Mar 2026 18:25:20 +0200 Subject: [PATCH 7/8] Bumped version to 2.5.17 --- Core/LocalAdmin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/LocalAdmin.cs b/Core/LocalAdmin.cs index 92d5aaa..6a87080 100644 --- a/Core/LocalAdmin.cs +++ b/Core/LocalAdmin.cs @@ -30,7 +30,7 @@ namespace LocalAdmin.V2.Core; public sealed class LocalAdmin : IDisposable { - public const string VersionString = "2.5.16"; + public const string VersionString = "2.5.17"; private const ushort DefaultPort = 7777; private static readonly ConcurrentQueue InputQueue = new(); From 1cb22476394775ff5e6392151ea38c2dddd5e488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jurczyk?= Date: Tue, 31 Mar 2026 18:32:39 +0200 Subject: [PATCH 8/8] Updated .NET version in GitHub workflow --- .github/workflows/dotnet-core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 3cab037..7864f13 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04, windows-latest] - framework: ['8.0'] + framework: ['10.0'] include: - os: ubuntu-22.04 target: linux-x64