POL_Function_override_app_dlls
Informations
| Créateur | Messages |
|---|---|
|
GNU_Raziel
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience0 0 DescriptionAllow overriding dlls for specified app.
Code source#!/bin/bash
# PlayOnLinux Function
# Date : (2010-06-11 21:00)
# Last revision : (2010-09-02 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
APP=$1
MODE=$2
DLL=$3
cd "$POL_USER_ROOT/ressources"
if [ -e "$POL_USER_ROOT/ressources/app_dll_override.reg" ]; then
rm -r app_dll_override.reg
fi
echo "REGEDIT4" > app_dll_override.reg
echo "" >> app_dll_override.reg
echo "[HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\$APP\\DllOverrides]" >> app_dll_override.reg
until [ "$DLL" == "" ]; do
if [ "$DLL" = "comctl32" ]; then
rm -rf "$WINEPREFIX/winsxs/manifests/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest"
fi
echo "\"$DLL\"=\"$MODE\"" >> app_dll_override.reg
shift
DLL="$3"
done
POL_Wine regedit app_dll_override.reg
rm -rf app_dll_override.reg |
Contributions
Filters:
Contribuer| Membre | Messages |
| Quentin PÂRIS | Lundi 21 Juillet 2014 à 17:40 |
Quentin PÂRIS
|
InformationCette mise à jour a été acceptée par l'équipe Differences@@ -27,4 +27,4 @@ done POL_Wine regedit app_dll_override.reg -rm -r app_dll_override.reg \ No newline at end of file +rm -rf app_dll_override.reg \ No newline at end of file Nouveau code source#!/bin/bash
# PlayOnLinux Function
# Date : (2010-06-11 21:00)
# Last revision : (2010-09-02 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
APP=$1
MODE=$2
DLL=$3
cd "$POL_USER_ROOT/ressources"
if [ -e "$POL_USER_ROOT/ressources/app_dll_override.reg" ]; then
rm -r app_dll_override.reg
fi
echo "REGEDIT4" > app_dll_override.reg
echo "" >> app_dll_override.reg
echo "[HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\$APP\\DllOverrides]" >> app_dll_override.reg
until [ "$DLL" == "" ]; do
if [ "$DLL" = "comctl32" ]; then
rm -rf "$WINEPREFIX/winsxs/manifests/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest"
fi
echo "\"$DLL\"=\"$MODE\"" >> app_dll_override.reg
shift
DLL="$3"
done
POL_Wine regedit app_dll_override.reg
rm -rf app_dll_override.reg Réponses |
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com