From ba3bc48297b09fbfba005e0b8e74a631cd85691d Mon Sep 17 00:00:00 2001 From: Frank Skare Date: Sun, 26 May 2019 05:34:52 +0200 Subject: [PATCH] - --- setup.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.ps1 b/setup.ps1 index e0c7c90..28bd110 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -31,7 +31,7 @@ CheckFileExist($msbuild); CheckFileExist($innoSetup); CheckFileExist($sevenZip); & $innoSetup /Darch="x64" setup.iss; CheckExitCode & $innoSetup /Darch="x86" setup.iss; CheckExitCode -# create the x64 portable archives +# create the x64 portable archives using 7zip $scriptDir = Split-Path -Path $PSCommandPath -Parent $desktopDir = [Environment]::GetFolderPath("Desktop") $exePath = $scriptDir + "\mpv.net\bin\x64\mpvnet.exe" @@ -41,7 +41,7 @@ Copy-Item $scriptDir\mpv.net\bin\x64 $targetDir -Recurse -Exclude System.Managem & $sevenZip a -t7z -mx9 "$targetDir.7z" -r "$targetDir\*"; CheckExitCode & $sevenZip a -tzip -mx9 "$targetDir.zip" -r "$targetDir\*"; CheckExitCode -# create the x86 portable archives +# create the x86 portable archives using 7zip $exePath = $scriptDir + "\mpv.net\bin\x86\mpvnet.exe" $version = [Diagnostics.FileVersionInfo]::GetVersionInfo($exePath).FileVersion $targetDir = $desktopDir + "\mpv.net-portable-x86-" + $version