POL_Function_sandbox

Informations

Créateur Messages
SuperPlumus Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 176807
Wine: System

Retours d'expérience

Code source

#!/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:

Contribuer
Membre Messages

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