blob: 3db17c813e3580f2966d7b1aa7b38e4454fcbdad (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
XDG_DATA_HOME="${XDG_DATA_HOME-${HOME}/.local/share}"
export WINEPREFIX="${WINEPREFIX-${XDG_DATA_HOME}/wineprefixes/osu-stable}"
export CONFIG_DIR="${CONFIG_DIR-${HOME}/.config/gosumemory}"
if [ ! -d "${CONFIG_DIR}" ]; then
mkdir -p "${CONFIG_DIR}"
cp '/usr/share/gosumemory/gosumemory.exe' "${CONFIG_DIR}"
fi
wine "${CONFIG_DIR}"'/gosumemory.exe'
|