mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Update windows-publish.ps1
This commit is contained in:
parent
b382a02ab0
commit
d788ab9338
3
.github/scripts/windows-publish.ps1
vendored
3
.github/scripts/windows-publish.ps1
vendored
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue