fix: run error on win

This commit is contained in:
Barry 2021-03-06 15:38:18 +08:00
parent 6e94d04140
commit deea8483d5

View file

@ -103,6 +103,7 @@ if /i %cpu_mode% == x86 (
:: 只有在64位下需要这个
if /i %cpu_mode% == x64 (
cp "C:\Windows\System32\vcruntime140_1.dll" %publish_path%\vcruntime140_1.dll
cp "C:\Windows\System32\msvcp140_1.dll" %publish_path%\msvcp140_1.dll
)
::cp "C:\Program Files (x86)\Microsoft Visual Studio\Installer\VCRUNTIME140.dll" %publish_path%\VCRUNTIME140.dll