Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated load_7zip to Install the Latest Version (24.08) and Added load_7zip64 #2302

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 [ "$(grep -s "${WINEPREFIX}/system.reg")" = "#arch=32" ]; 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 [ "$(grep -s "${WINEPREFIX}/system.reg")" = "#arch=64" ]; 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 [ "$(grep -s "${WINEPREFIX}/system.reg")" = "#arch=32" ]; then
w_download https://www.7-zip.org/a/"${file1}" e35e4374100b52e697e002859aefdd5533bcbf4118e5d2210fae6de318947c41
elif [ "$(grep -s "${WINEPREFIX}/system.reg")" = "#arch=64" ]; 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
Loading