src_prepare-overlay/media-gfx/mspaint/files/mspaint

8 lines
199 B
Bash

#!/usr/bin/env bash
set -uo pipefail
MFC42_FOUND=$(winetricks list-installed | grep -cE '^mfc42$|^vcrun6$')
if [ ${MFC42_FOUND} -eq 0 ]; then
winetricks mfc42
fi
wine /usr/share/mspaint/mspaint.exe