summarylogtreecommitdiffstats
path: root/ynab4
blob: a1ee6d013d3afa9fac754b96bfbbd1df9429b937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

export WINEARCH=win64 WINEPREFIX="$HOME/.ynab4/wine"

ynab_wine="${HOME}/.ynab4/wine"
mkdir -p "${ynab_wine}" || exit 1

ynab_path="${ynab_wine}/drive_c/Program Files (x86)/YNAB 4/YNAB 4.exe"
if [ ! -f "${ynab_path}" ] ; then
	wine /usr/share/ynab4/Setup.exe || exit 1
	winetricks corefonts || exit 1
fi

wine "${ynab_path}"