From d788ab933872aa1b00edfacb0180952fa10f6906 Mon Sep 17 00:00:00 2001 From: xiaoyifang <105986+xiaoyifang@users.noreply.github.com> Date: Fri, 11 Feb 2022 15:58:13 +0800 Subject: [PATCH] Update windows-publish.ps1 --- .github/scripts/windows-publish.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/scripts/windows-publish.ps1 b/.github/scripts/windows-publish.ps1 index 9fa3ff66..e93ed464 100644 --- a/.github/scripts/windows-publish.ps1 +++ b/.github/scripts/windows-publish.ps1 @@ -27,6 +27,7 @@ function Main() { New-Item -ItemType Directory $archiveName New-Item -ItemType Directory $archiveName\locale + New-Item -ItemType Directory $archiveName\opencc # 拷贝exe Copy-Item release\$targetName $archiveName\ Write-Host "copy item finished..." @@ -43,6 +44,8 @@ function Main() { Write-Host "copy redist dll..." Copy-Item "LICENSE.txt" $archiveName\ Write-Host "copy license.." + Copy-Item "opencc\*" $archiveName\opencc\ + Write-Host "opencc config files.." # 拷贝WinSDK dll $sdkDll="{0}Redist\{1}ucrt\DLLs\{2}\*.dll" -f $env:winSdkDir.Trim(),$env:winSdkVer.Trim(),$env:msvcArch Write-Host "copy sdk dll$($sdkDll)"