2025-08-16 14:07:26 +07:00

16 lines
356 B
Bash

#!/bin/bash
if [ ! -f $HOME/.game.env ]; then
echo "Error: .game.env not found"
exit 1
fi
source $HOME/.game.env
if [ -d "$DIR_WINE" ] && [ "$(stat -c '%U' "$DIR_WINE")" = "$USER" ] && command -v wine >/dev/null 2>&1; then
wine --version
echo "Wine seems installed correctly"
else
echo "Wine is not installed correctly"
exit 1
fi