POL_Function_sandbox

Informations

Creator Message
SuperPlumus Anonymous
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 147686
Wine: System

Feedbacks

Source code

#!/bin/bash
# PlayOnLinux Function

if [ "$WINEPREFIX" = "" ]
then
    POL_Debug_Fatal "sandbox : Variable WINEPREFIX not set !"
fi

POL_Debug_LogToPrefix "Sandboxing prefix : z: ->  $POL_USER_ROOT/tmp/"
POL_Debug_LogToPrefix "Sandboxing prefix : y: ->  $POL_USER_ROOT/ressources/"

rm "$WINEPREFIX/dosdevices/z:"
rm "$WINEPREFIX/dosdevices/y:" 2> /dev/null
ln -s "$POL_USER_ROOT/tmp/" "$WINEPREFIX/dosdevices/z:"
ln -s "$POL_USER_ROOT/ressources/" "$WINEPREFIX/dosdevices/y:"

Contributions

Filters:

Contribute
Member Message