diff --git a/client.config b/client.config index be713ca..a3a7654 100644 --- a/client.config +++ b/client.config @@ -1,4 +1,4 @@ Aurora.ClientCheck=false Aurora.Env.Override=1 -Aurora.Env=eu.actual.battle.net +Aurora.Env=REGION.actual.battle.net Localization.Locale=enUS \ No newline at end of file diff --git a/craft.sh b/craft.sh index 5b123be..0fd9487 100755 --- a/craft.sh +++ b/craft.sh @@ -102,7 +102,7 @@ gen_token_login() { } create_stubs() { - cp client.config $TARGET_PATH + sed "s/REGION/${REGION}/" client.config > $TARGET_PATH/client.config mkdir -p $TARGET_PATH/Bin/Hearthstone_Data/Plugins/System/Library/Frameworks/CoreFoundation.framework make -C stubs cp stubs/CoreFoundation.so $TARGET_PATH/Bin/Hearthstone_Data/Plugins/System/Library/Frameworks/CoreFoundation.framework