Skip to content

Instantly share code, notes, and snippets.

@galou
Created January 14, 2020 19:36
Show Gist options
  • Save galou/7700929790535df8d2e61316ed0a1027 to your computer and use it in GitHub Desktop.
Save galou/7700929790535df8d2e61316ed0a1027 to your computer and use it in GitHub Desktop.
Set DeDRM on Ubuntu 18.04 and Wine 4.21
#!/bin/sh
WINEPREFIX=/home/gael/.PlayOnLinux/wineprefix/AdobeDigitalEditions45
WINEARCH=win32
PATH=~/.PlayOnLinux/wine/linux-x86/4.21/bin:$PATH
wine msiexec /i /tmp/python-2.7.16.msi /L'*v' log.txt
wine msiexec /i /tmp/VCForPython27.msi /L'*v' log.txt
wine pip.exe install PyCrypto
wine python.exe "/home/gael/.config/calibre/plugins/DeDRM/libraryfiles/adobekey.py" "/home/gael/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment