1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-17 20:12:54 +08:00

trim again

This commit is contained in:
jared 2021-01-02 15:14:05 +08:00
parent 4ecb12b3fc
commit 536719c5ef

View File

@ -40,7 +40,7 @@ function Main() {
$redistDll="{0}onecore\{1}\*.CRT\*.dll" -f $env:vcToolsRedistDir.Trim(),$env:msvcArch $redistDll="{0}onecore\{1}\*.CRT\*.dll" -f $env:vcToolsRedistDir.Trim(),$env:msvcArch
Copy-Item $redistDll $archiveName\ Copy-Item $redistDll $archiveName\
# 拷贝WinSDK dll # 拷贝WinSDK dll
$sdkDll="{0}Redist\{1}ucrt\DLLs\{2}\*.dll" -f $env:winSdkDir.Trim(),$env:winSdkVer,$env:msvcArch $sdkDll="{0}Redist\{1}ucrt\DLLs\{2}\*.dll" -f $env:winSdkDir.Trim(),$env:winSdkVer.Trim(),$env:msvcArch
Copy-Item $sdkDll $archiveName\ Copy-Item $sdkDll $archiveName\
# 打包zip # 打包zip
Compress-Archive -Path $archiveName $archiveName'.zip' Compress-Archive -Path $archiveName $archiveName'.zip'