mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-22 20:44:59 +00:00
feat: copy vcruntime dll
This commit is contained in:
parent
f2641816d1
commit
c71942cda6
1 changed files with 9 additions and 2 deletions
|
@ -100,10 +100,17 @@ if /i %cpu_mode% == x86 (
|
|||
)
|
||||
|
||||
:: copy vcruntime dll
|
||||
:: 只有在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:\Windows\System32\msvcp140.dll" %publish_path%\msvcp140.dll
|
||||
cp "C:\Windows\System32\vcruntime140.dll" %publish_path%\vcruntime140.dll
|
||||
:: 只有x64需要
|
||||
cp "C:\Windows\System32\vcruntime140_1.dll" %publish_path%\vcruntime140_1.dll
|
||||
) else (
|
||||
cp "C:\Windows\SysWOW64\msvcp140_1.dll" %publish_path%\msvcp140_1.dll
|
||||
cp "C:\Windows\SysWOW64\msvcp140.dll" %publish_path%\msvcp140.dll
|
||||
cp "C:\Windows\SysWOW64\vcruntime140.dll" %publish_path%\vcruntime140.dll
|
||||
|
||||
)
|
||||
|
||||
::cp "C:\Program Files (x86)\Microsoft Visual Studio\Installer\VCRUNTIME140.dll" %publish_path%\VCRUNTIME140.dll
|
||||
|
|
Loading…
Add table
Reference in a new issue