#!/bin/bash

directory="${PWD}/.painttoolsai"
ptsDir="drive_c/Program Files/PaintTool SAI English Pack"

if [ ! -d "$directory" ]; then
	cd "${PWD}"
	./install.sh
fi

cd "${directory}/$ptsDir"

WINEPREFIX="$directory/" wine "./sai.exe"
