diff options
author | yuuko <yuuko@partyvan.io> | 2024-11-24 01:01:16 -0800 |
---|---|---|
committer | yuuko <yuuko@partyvan.io> | 2024-11-24 01:01:16 -0800 |
commit | d1fd47eaa587c21661041aa5f8593f89371bdd0a (patch) | |
tree | 7927daa8768532245904d93ab1875e5c3627fcf4 /srcds-pkgs/depotdownloader-json | |
parent | e4c37c5d5dc734fb94149af4a6273f35f818bdca (diff) |
depotdownloader-json: make dotnet shut up
Diffstat (limited to 'srcds-pkgs/depotdownloader-json')
-rw-r--r-- | srcds-pkgs/depotdownloader-json/2_7/0003-thats-just-like-your-opinion-man.patch | 24 | ||||
-rw-r--r-- | srcds-pkgs/depotdownloader-json/default.nix | 2 |
2 files changed, 26 insertions, 0 deletions
diff --git a/srcds-pkgs/depotdownloader-json/2_7/0003-thats-just-like-your-opinion-man.patch b/srcds-pkgs/depotdownloader-json/2_7/0003-thats-just-like-your-opinion-man.patch new file mode 100644 index 0000000..120deaf --- /dev/null +++ b/srcds-pkgs/depotdownloader-json/2_7/0003-thats-just-like-your-opinion-man.patch @@ -0,0 +1,24 @@ +From 32a548b19507c611ddec868f8665544a829a85b2 Mon Sep 17 00:00:00 2001 +From: yuuko <yuuko@partyvan.io> +Date: Sun, 24 Nov 2024 00:59:09 -0800 +Subject: [PATCH] thats just like your opinion man + +--- + DepotDownloader/ProtoManifest.cs | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/DepotDownloader/ProtoManifest.cs b/DepotDownloader/ProtoManifest.cs +index ffb0420..6dc394a 100644 +--- a/DepotDownloader/ProtoManifest.cs ++++ b/DepotDownloader/ProtoManifest.cs +@@ -25,6 +25,7 @@ namespace DepotDownloader + public ProtoManifest(DepotManifest sourceManifest, ulong id) : this() + { + sourceManifest.Files.ForEach(f => Files.Add(new FileData(f))); ++ #pragma warning disable IDE0055 + Files.Sort((f1,f2) => f1.FileName.CompareTo(f2.FileName)); + ID = id; + CreationTime = sourceManifest.CreationTime; +-- +2.47.0 + diff --git a/srcds-pkgs/depotdownloader-json/default.nix b/srcds-pkgs/depotdownloader-json/default.nix index 7ff0270..0f6f4c4 100644 --- a/srcds-pkgs/depotdownloader-json/default.nix +++ b/srcds-pkgs/depotdownloader-json/default.nix @@ -12,6 +12,8 @@ depotdownloader.overrideAttrs({ patches ? [], version, ... }: { [ ./2_7/0001-ProtoManifest-sort-files-in-constructor.patch ./2_7/0002-emit-json-in-.DepotDownload.patch + # formatting very the epic + ./2_7/0003-thats-just-like-your-opinion-man.patch ] else builtins.abort "version of DepotDownloader not covered by patches"; }) |