Commit 11c00709 authored by Ivan Ivlev's avatar Ivan Ivlev

patches: remove copying cades.dll after installation (eterbug#17550)

parent c0e60a80
From a5ff44cdc421d368f1427b42a537ed13746268e8 Mon Sep 17 00:00:00 2001
From ad2a8a038d49c294a79a017547914f9e979e8975 Mon Sep 17 00:00:00 2001
From: Iviv <iviv@etersoft.ru>
Date: Tue, 5 Mar 2024 19:32:34 +0300
Subject: [PATCH] winetricks: added cades installation
To: wine-devel <wine-devel@winehq.org>
Subject: [PATCH] winetricks: added cades installation (eterbug#17080)
Signed-off-by: Ivan Ivlev <iviv@etersoft.ru>
---
src/winetricks | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
src/winetricks | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/src/winetricks b/src/winetricks
index 05b6683..97a9ced 100755
index d1988ce..3b46a79 100755
--- a/src/winetricks
+++ b/src/winetricks
@@ -19299,6 +19299,33 @@ load_remove_mono()
@@ -19480,6 +19480,31 @@ load_remove_mono()
}
......@@ -32,13 +32,11 @@ index 05b6683..97a9ced 100755
+ w_download https://cryptopro.ru/sites/default/files/products/cades/release_2_0_13642/cades-win32.msi d3c1f5d4e24d5b3011166c4bea7054eca91fa2477c312bac64312c86b72d6d38
+ w_try_cd "${W_CACHE}/${W_PACKAGE}"
+ w_try "${WINE}" msiexec /i cades-win32.msi ${W_OPT_UNATTENDED:+/q}
+ w_try_cp_dll "${W_WINDIR_UNIX}/winsxs/x86_cryptopro.pki.cades_a6d31b994cfcddc4_2.0.13742.0_none_deadbeef/cades.dll" "${W_SYSTEM32_DLLS}/cades.dll"
+ case "${W_ARCH}" in
+ win64)
+ #Also install 64-bit version
+ w_download https://cryptopro.ru/sites/default/files/products/cades/release_2_0_13642/cades-x64.msi f02bf53d3501fa0839870bb440c53d5a846af43c142effd0fb8531dd0ed6c7cf
+ w_try "${WINE}" msiexec /i cades-x64.msi ${W_OPT_UNATTENDED:+/q}
+ w_try_cp_dll "${W_WINDIR_UNIX}/winsxs/amd64_cryptopro.pki.cades_a6d31b994cfcddc4_2.0.13635.0_none_deadbeef/cades.dll" "${W_SYSTEM64_DLLS}/cades.dll"
+ ;;
+ esac
+}
......@@ -47,5 +45,5 @@ index 05b6683..97a9ced 100755
w_metadata sandbox settings \
--
2.42.1
2.42.2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment