From 44928620513fbcdadaa26e601f1b902415da044f Mon Sep 17 00:00:00 2001 From: Deterous <138427222+Deterous@users.noreply.github.com> Date: Tue, 19 Aug 2025 23:09:11 +0900 Subject: [PATCH] Final fix --- .vscode/tasks.json | 24 ------------------------ IRDKit/IRDKit.csproj | 2 +- LibIRD/IRD.cs | 2 ++ LibIRD/LibIRD.csproj | 2 +- publish-irdkit.ps1 | 15 --------------- 5 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 .vscode/tasks.json delete mode 100644 publish-irdkit.ps1 diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 31c32bd..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "build", - "command": "dotnet", - "type": "shell", - "args": [ - "build", - // Ask dotnet build to generate full paths for file names. - "/property:GenerateFullPaths=true", - // Do not generate summary otherwise it leads to duplicate errors in Problems panel - "/consoleloggerparameters:NoSummary" - ], - "group": "build", - "presentation": { - "reveal": "silent" - }, - "problemMatcher": "$msCompile" - } - ] -} \ No newline at end of file diff --git a/IRDKit/IRDKit.csproj b/IRDKit/IRDKit.csproj index fb63d3f..0525126 100644 --- a/IRDKit/IRDKit.csproj +++ b/IRDKit/IRDKit.csproj @@ -14,7 +14,7 @@ true false true - 0.9.5 + 1.0.0 Deterous diff --git a/LibIRD/IRD.cs b/LibIRD/IRD.cs index 975f382..9b83008 100644 --- a/LibIRD/IRD.cs +++ b/LibIRD/IRD.cs @@ -1159,7 +1159,9 @@ namespace LibIRD // If making redump-style IRD, save CRC32 hash to UID field if (redump) { + isoHasher.Terminate(); crc32 = isoHasher.CurrentHashBytes; + isoHasher.Dispose(); Array.Reverse(crc32); UID = BitConverter.ToUInt32(crc32, 0); } diff --git a/LibIRD/LibIRD.csproj b/LibIRD/LibIRD.csproj index aa3a380..e276fbf 100644 --- a/LibIRD/LibIRD.csproj +++ b/LibIRD/LibIRD.csproj @@ -7,7 +7,7 @@ latest true true - 0.9.5 + 1.0.0 ../nupkg diff --git a/publish-irdkit.ps1 b/publish-irdkit.ps1 deleted file mode 100644 index d1217c1..0000000 --- a/publish-irdkit.ps1 +++ /dev/null @@ -1,15 +0,0 @@ -dotnet publish -c Release -f net9.0 -r win-x86 --self-contained=false -p:PublishSingleFile=true -p:DebugType=None IRDKit\IRDKit.csproj -dotnet publish -c Release -f net9.0 -r win-x64 --self-contained=false -p:PublishSingleFile=true -p:DebugType=None IRDKit\IRDKit.csproj -dotnet publish -c Release -f net9.0 -r win-arm64 --self-contained=false -p:PublishSingleFile=true -p:DebugType=None IRDKit\IRDKit.csproj -dotnet publish -c Release -f net9.0 -r linux-x64 --self-contained=false -p:PublishSingleFile=true -p:DebugType=None IRDKit\IRDKit.csproj -dotnet publish -c Release -f net9.0 -r linux-arm64 --self-contained=false -p:PublishSingleFile=true -p:DebugType=None IRDKit\IRDKit.csproj -dotnet publish -c Release -f net9.0 -r osx-x64 --self-contained=false -p:PublishSingleFile=true -p:DebugType=None IRDKit\IRDKit.csproj -dotnet publish -c Release -f net9.0 -r osx-arm64 --self-contained=false -p:PublishSingleFile=true -p:DebugType=None IRDKit\IRDKit.csproj - -Compress-Archive -Path "./IRDKit/bin/Release/net9.0/win-x86/publish/irdkit.exe" -Destination "./irdkit-win-x86.zip" -CompressionLevel "Optimal" -Compress-Archive -Path "./IRDKit/bin/Release/net9.0/win-x64/publish/irdkit.exe" -Destination "./irdkit-win-x64.zip" -CompressionLevel "Optimal" -Compress-Archive -Path "./IRDKit/bin/Release/net9.0/win-arm64/publish/irdkit.exe" -Destination "./irdkit-win-arm64.zip" -CompressionLevel "Optimal" -Compress-Archive -Path "./IRDKit/bin/Release/net9.0/linux-x64/publish/irdkit" -Destination "./irdkit-linux-x64.zip" -CompressionLevel "Optimal" -Compress-Archive -Path "./IRDKit/bin/Release/net9.0/linux-arm64/publish/irdkit" -Destination "./irdkit-linux-arm64.zip" -CompressionLevel "Optimal" -Compress-Archive -Path "./IRDKit/bin/Release/net9.0/osx-x64/publish/irdkit" -Destination "./irdkit-osx-x64.zip" -CompressionLevel "Optimal" -Compress-Archive -Path "./IRDKit/bin/Release/net9.0/osx-arm64/publish/irdkit" -Destination "./irdkit-osx-arm64.zip" -CompressionLevel "Optimal" \ No newline at end of file