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:
parent
986c0c534d
commit
ce76696af4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user