From 7fb29f0b0247e374eede1118f0ab73216adc2eaf Mon Sep 17 00:00:00 2001 From: Aleksei Tirman Date: Thu, 5 Sep 2024 15:44:59 +0400 Subject: [PATCH] Generate checksum for msi installer (#26) --- packInstaller.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/packInstaller.ps1 b/packInstaller.ps1 index 60fb7e3..0ac912c 100644 --- a/packInstaller.ps1 +++ b/packInstaller.ps1 @@ -42,4 +42,5 @@ $wixProduct = @" $wixProduct | out-file -filepath KtorProduct.wxs & $wixExe build -arch x64 -o $outPath -ext WixToolset.UI.wixext KtorProduct.wxs +(Get-FileHash -Path $outPath -Algorithm Sha256).Hash | out-file checksum.txt -NoNewline Remove-Item KtorProduct.wxs \ No newline at end of file