1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Detect slightly different gog.com installer file layout

This commit is contained in:
Ivan Savenko 2022-12-27 16:54:23 +02:00
parent 986c0c534d
commit ce76696af4

View File

@ -177,7 +177,7 @@ then
cd "$data_dir" && innoextract "$gog_file"
# some versions of gog.com installer (or innoextract tool?) place game files inside /app directory
if [[ -d "$data_dir"/app ]]
if [[ -d "$data_dir"/app/[Dd][Aa][Tt][Aa] ]]
then
data_dir="$data_dir"/app
fi