bundle more DLLs with windows build
This commit is contained in:
parent
1758815cc9
commit
1cfda9c68b
1 changed files with 10 additions and 0 deletions
10
.github/workflows/windows.yml
vendored
10
.github/workflows/windows.yml
vendored
|
|
@ -20,6 +20,7 @@ jobs:
|
|||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: 3.47.4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
|
|
@ -51,6 +52,15 @@ jobs:
|
|||
cp /mingw64/bin/libwinpthread-1.dll build/windows/x64/runner/Release/
|
||||
cp /mingw64/bin/libstdc++-6.dll build/windows/x64/runner/Release/
|
||||
|
||||
- name: Copy MSVC runtime DLLs
|
||||
shell: powershell
|
||||
run: |
|
||||
$release = "build/windows/x64/runner/Release"
|
||||
|
||||
Copy-Item C:\Windows\System32\MSVCP140.dll $release -Force
|
||||
Copy-Item C:\Windows\System32\VCRUNTIME140.dll $release -Force
|
||||
Copy-Item C:\Windows\System32\VCRUNTIME140_1.dll $release -Force
|
||||
|
||||
- name: Install Inno Setup
|
||||
run: choco install innosetup -y
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue