From 5e08711e9d4e79c26977950763db140812b0d289 Mon Sep 17 00:00:00 2001 From: Fareez Iqmal <60868965+iqfareez@users.noreply.github.com> Date: Sat, 10 Aug 2024 06:55:10 +0800 Subject: [PATCH] :construction_worker: (Windows CI) Add download vcredist content --- .github/workflows/inno-setup-package-installer.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/inno-setup-package-installer.yml b/.github/workflows/inno-setup-package-installer.yml index d67406e..d584491 100644 --- a/.github/workflows/inno-setup-package-installer.yml +++ b/.github/workflows/inno-setup-package-installer.yml @@ -32,10 +32,15 @@ jobs: flutter pub get flutter build windows - - name: Download VCRedist 143 + - name: Clone vcredist files run: | - curl -L -o vcredist.exe https://download.microsoft.com/download/6/A/A/6AA4EDFF-645B-48C5-81CC-ED5963AEAD48/vc_redist.x64.exe - shell: pwsh + git clone https://github.com/iiumschedule/vcredist.git windows-x64-vc + + - name: Add DLL files + run: | + Copy-Item windows-x64-vc/scripts/windows/x64/msvcp140.dll build/windows/runner/Release/ + Copy-Item windows-x64-vc/scripts/windows/x64/vcruntime140.dll build/windows/runner/Release/ + Copy-Item windows-x64-vc/scripts/windows/x64/vcruntime140_1.dll build/windows/runner/Release/ - name: Building the installer run: |