POL_Function_OverrideDLL

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 2481283
Wine: System

Feedbacks

Source code

#!/bin/bash
# Date : Unkown
# Last revision : (2013-05-19 12-16)
# Author : unknown
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# CHANGELOG
# [SuperPlumus] (2013-05-19 12-16)
#   gettext

MODE=$1
DLL=$2
if [ "$mode" = "disabled" ]
then
        unset mode
fi

cat << EOF > "$POL_USER_ROOT/tmp/override-dll.reg"
REGEDIT4

[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]
EOF

until [ "$DLL" == "" ]; do
        echo "\"*$DLL\"=\"$MODE\"" >> "$POL_USER_ROOT/tmp/override-dll.reg"
        shift
        DLL="$2"
done

POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait...')" "$TITLE"
POL_Wine regedit "$POL_USER_ROOT/tmp/override-dll.reg"

Contributions

Filters:

Contribute
Member Message