summarylogtreecommitdiffstats
path: root/dngconverter
blob: 326db8279919a9447a2ca6ed90ca93b2dc29049e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
export WINEPREFIX="${HOME}/.dngconverter/wine"

if [ ! -d "${HOME}"/.dngconverter ] ; then
  mkdir -p "${HOME}/.dngconverter/wine/drive_c/ProgramData/Adobe" || exit 1
  ln -s /usr/share/dngconverter/CameraRaw "${HOME}/.dngconverter/wine/drive_c/ProgramData/Adobe/CameraRaw"
fi

WINEDLLOVERRIDES="mscoree=,mshtml=,api-ms-win-core-winrt-error-l1-1-0=" wine "/usr/share/dngconverter/Adobe DNG Converter/Adobe DNG Converter.exe" "$@"