Skip to content

Commit

Permalink
Updated 7zip to 24.09 and added 7zip arch bits conditional installation
Browse files Browse the repository at this point in the history
Updated 7zip to 24.09 and added arch bits conditional installation for win32 and win64
  • Loading branch information
ThisNekoGuy authored Dec 17, 2024
1 parent df750bc commit 7bf60e9
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -15726,17 +15726,31 @@ load_3m_library()

#----------------------------------------------------------------

w_metadata 7zip apps \
title="7-Zip 24.09" \
publisher="Igor Pavlov" \
year="2024" \
media="download" \
file1="7z2408.exe" \
installed_exe1="${W_PROGRAMS_X86_WIN}/7-Zip/7zFM.exe"
if [ "${W_ARCH}" = "win32" ]; then
w_metadata 7zip apps \
title="7-Zip 24.09" \
publisher="Igor Pavlov" \
year="2024" \
media="download" \
file1="7z2409.exe" \
installed_exe1="${W_PROGRAMS_X86_WIN}/7-Zip/7zFM.exe"
elif [ "${W_ARCH}" = "win64" ]; then
w_metadata 7zip apps \
title="7-Zip 24.09" \
publisher="Igor Pavlov" \
year="2024" \
media="download" \
file1="7z2409-x64.exe" \
installed_exe1="${W_PROGRAMS_WIN}/7-Zip/7zFM.exe"
fi

load_7zip()
{
w_download https://www.7-zip.org/a/7z2409.exe e35e4374100b52e697e002859aefdd5533bcbf4118e5d2210fae6de318947c41
if [ "${W_ARCH}" = "win32" ]; then
w_download "https://www.7-zip.org/a/${file1}" e35e4374100b52e697e002859aefdd5533bcbf4118e5d2210fae6de318947c41
elif [ "${W_ARCH}" = "win64" ]; then
w_download "https://www.7-zip.org/a/${file1}" bdd1a33de78618d16ee4ce148b849932c05d0015491c34887846d431d29f308e
fi
w_try_cd "${W_CACHE}/${W_PACKAGE}"
w_try "${WINE}" "${file1}" ${W_OPT_UNATTENDED:+/S}
}
Expand Down

0 comments on commit 7bf60e9

Please sign in to comment.