diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 1b1c65c..7a78da2 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -84,6 +84,13 @@ jobs: flutter pub get flutter build windows + - name: Add vcredist files tp Release + run: | + git clone https://github.com/iiumschedule/vcredist.git windows-x64-vc + Copy-Item windows-x64-vc/msvcp140.dll build/windows/x64/runner/Release/ + Copy-Item windows-x64-vc/vcruntime140.dll build/windows/x64/runner/Release/ + Copy-Item windows-x64-vc/vcruntime140_1.dll build/windows/x64/runner/Release/ + # package the executable using Inno Setup - name: Building the installer (Inno) run: | diff --git a/.github/workflows/inno-setup-package-installer.yml b/.github/workflows/inno-setup-package-installer.yml index 71ec79c..bafff9d 100644 --- a/.github/workflows/inno-setup-package-installer.yml +++ b/.github/workflows/inno-setup-package-installer.yml @@ -32,6 +32,13 @@ jobs: flutter pub get flutter build windows + - name: Add vcredist files tp Release + run: | + git clone https://github.com/iiumschedule/vcredist.git windows-x64-vc + Copy-Item windows-x64-vc/msvcp140.dll build/windows/x64/runner/Release/ + Copy-Item windows-x64-vc/vcruntime140.dll build/windows/x64/runner/Release/ + Copy-Item windows-x64-vc/vcruntime140_1.dll build/windows/x64/runner/Release/ + - name: Building the installer run: | "%programfiles(x86)%\Inno Setup 6\iscc.exe" "Inno\setup-script.iss" diff --git a/.github/workflows/msix-package.yml b/.github/workflows/msix-package.yml index 4352ca0..a5a47f0 100644 --- a/.github/workflows/msix-package.yml +++ b/.github/workflows/msix-package.yml @@ -21,6 +21,13 @@ jobs: flutter pub get flutter build windows + - name: Add vcredist files tp Release + run: | + git clone https://github.com/iiumschedule/vcredist.git windows-x64-vc + Copy-Item windows-x64-vc/msvcp140.dll build/windows/x64/runner/Release/ + Copy-Item windows-x64-vc/vcruntime140.dll build/windows/x64/runner/Release/ + Copy-Item windows-x64-vc/vcruntime140_1.dll build/windows/x64/runner/Release/ + - name: Decoding CERTIFICATE.pfx shell: cmd # certutil [options] -decode infile outfile