-
-
Notifications
You must be signed in to change notification settings - Fork 428
Open
Description
Winetricks currently includes dotnetX
and dotnetdesktopX
verbs, but there is no verb for installing the ASP.NET Core Runtime.
There is sample version of dotnetaspnetcore8.verb
:
w_metadata dotnetaspnetcore8 dlls \
title="MS ASP.NET Core Runtime 8.0 LTS" \
publisher="Microsoft" \
year="2024" \
media="download" \
file1="aspnetcore-runtime-8.0.8-win-x86" \
installed_file1="${W_WINDIR_WIN}/dotnetaspnetcore8.installed.workaround"
load_dotnetaspnetcore8()
{
# Official version, see https://dotnet.microsoft.com/en-us/download/dotnet/8.0
w_download https://download.visualstudio.microsoft.com/download/pr/bc6a4cfd-be25-4dc0-90e9-2000f740a66b/6c5e6422aec7a09a8cebc1dbe8e37971/aspnetcore-runtime-8.0.8-win-x86.exe f5065a79302ebc6ca2e7aa30a21215528429dc2736835ab23e0bd3b42fcbc44e
w_try_cd "${W_CACHE}"/"${W_PACKAGE}"
w_try "${WINE}" "${file1}" ${W_OPT_UNATTENDED:+/quiet}
if [ "${W_ARCH}" = "win64" ]; then
# Also install the 64-bit version
w_download https://download.visualstudio.microsoft.com/download/pr/b336ee1f-b26c-4a03-958e-1e8a0b3cbf3e/afdfe9f8130098cb759ea933c66806bb/aspnetcore-runtime-8.0.8-win-x64.exe 0f00e3e8630d8261b1962da3bb4df136e85f17fe15412d863be8f61256ad9e63
w_try "${WINE}" "aspnetcore-runtime-8.0.8-win-x64.exe" ${W_OPT_UNATTENDED:+/quiet}
fi
# Do not rely on temporary files. As a workaround, touch a file instead so that we know it's been installed for list-installed
w_try touch "${W_WINDIR_UNIX}/dotnetaspnetcore8.installed.workaround"
}
Metadata
Metadata
Assignees
Labels
No labels