From f70dc58e4e1df7e559695a0738985f8f9bcf2f74 Mon Sep 17 00:00:00 2001 From: Xzonn Date: Mon, 6 Nov 2023 20:51:01 +0800 Subject: [PATCH] Add MD5 verification --- build.ps1 | 7 ++++++- files/md5.txt | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 files/md5.txt diff --git a/build.ps1 b/build.ps1 index 417039e..9ea1e7f 100644 --- a/build.ps1 +++ b/build.ps1 @@ -43,6 +43,11 @@ dotnet-script scripts/edit_banner.csx # Edit hardcoded string python "scripts/edit_hardcoded_string.py" -# Create xdelta patches, then create patch.zip +# Create xdelta patches dotnet-script scripts/create_xdelta.csx + +# Copy md5.txt +Copy-Item -Path "files/md5.txt" -Destination "out/md5.txt" -Force + +# create patch.zip Compress-Archive -Path "out/*" -DestinationPath "patch.zip" -Force \ No newline at end of file diff --git a/files/md5.txt b/files/md5.txt new file mode 100644 index 0000000..396573f --- /dev/null +++ b/files/md5.txt @@ -0,0 +1 @@ +6536132efddd337aa5069e627591fee5 \ No newline at end of file