mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-19 17:12:06 +02:00
[vcmibuilder] fix default destination directory on macOS
This commit is contained in:
parent
cfb5a771ca
commit
40c9b26331
@ -156,7 +156,10 @@ fi
|
||||
|
||||
if [[ -z "$dest_dir" ]]
|
||||
then
|
||||
if [[ -z "$XDG_DATA_HOME" ]]
|
||||
if [[ "$(uname)" == Darwin ]]
|
||||
then
|
||||
dest_dir="$HOME/Library/Application Support/vcmi"
|
||||
elif [[ -z "$XDG_DATA_HOME" ]]
|
||||
then
|
||||
dest_dir="$HOME/.local/share/vcmi"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user