1 2 3 4 5 6 7 8 9 10
#!/bin/sh export WINEPREFIX="$HOME/.pdfencrypt/wine" export WINEDLLOVERRIDES="mshtml=" if [ ! -d "$HOME/.pdfencrypt" ]; then mkdir -p "$HOME/.pdfencrypt/wine" wineboot -u #copy the registry file if needed fi WINEDEBUG=-all wine /usr/share/pdfencrypt/PDFEncrypt.exe "$@"