From 3fa660599db74376043e8bdeed3694466fdbee27 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sun, 9 Jul 2023 23:48:32 -0700 Subject: [PATCH] Install DokanY manually instead of using Chocolatey because the Chocolatey package is outdated --- .../workflows/actions/setup_windows/action.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions/setup_windows/action.yaml b/.github/workflows/actions/setup_windows/action.yaml index 01d8646f..20c9a6bb 100644 --- a/.github/workflows/actions/setup_windows/action.yaml +++ b/.github/workflows/actions/setup_windows/action.yaml @@ -6,5 +6,17 @@ runs: - name: Install Windows dependencies shell: bash run: | - choco install -y ninja - choco install -y dokany --version 1.3.0.1000 --installargs INSTALLDEVFILES=1 + choco install -y ninja wget + wget https://github.com/dokan-dev/dokany/releases/download/v1.3.0.1000/Dokan_x64.msi + if [ $(sha512sum Dokan_x64.msi | awk '{print $1;}') == "2daec91599a331f21bd44a6f06727a1839ec7fca5ed448536c65c86f9808ed6fd8afa947a8b153233c4220e29463533f0665e4c62718599cec8a12e60f0adc39" ]; then + echo Correct sha512sum + else + echo Wrong sha512sum + sha512sum Dokan_x64.msi + exit 1 + fi + echo Installing DokanY + msiexec "-i" "Dokan_x64.msi" "-norestart" "-passive" INSTALLDEVFILES=1 + # msiexec "-i" "Dokan_x64.msi" "-norestart" "-passive" "-lv*!" dokan-install-logfile.txt INSTALLDEVFILES=1 + # cat dokan-install-logfile.txt + echo Installing DokanY finished