mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Merge pull request #1827 from kambala-decapitator/vcmibuilder-macos-path
[vcmibuilder] fix default destination directory on macOS
This commit is contained in:
@@ -156,7 +156,10 @@ fi
|
|||||||
|
|
||||||
if [[ -z "$dest_dir" ]]
|
if [[ -z "$dest_dir" ]]
|
||||||
then
|
then
|
||||||
if [[ -z "$XDG_DATA_HOME" ]]
|
if [[ "$(uname)" == Darwin ]]
|
||||||
|
then
|
||||||
|
dest_dir="$HOME/Library/Application Support/vcmi"
|
||||||
|
elif [[ -z "$XDG_DATA_HOME" ]]
|
||||||
then
|
then
|
||||||
dest_dir="$HOME/.local/share/vcmi"
|
dest_dir="$HOME/.local/share/vcmi"
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user