ubuntu
删除 /usr/share/playonlinux/python/mainwindow.py
if(os.popen("id -u").read() == "0\n" or os.popen("id -u").read() == "0"):
wx.MessageBox(("{0} is not supposed to be run as root. Sorry").format(os.environ["APPLICATION_TITLE"]),("Error"))
os._exit(0)
删除 /usr/share/playonlinux/lib/sources
if [ "$(id -u)" = "0" ]
then
echo "PlayOnLinux is not supposed to be run as root. Sorry"
exit
fi