1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/ios/rpath_remove_symlinks.sh
Andrey Filipenkov 409ab51036 [iOS] workaround having TBB symlink in NullkillerAI’s RPATH
AltStore doesn't sign symlinks
2022-10-18 20:50:38 +03:00

8 lines
229 B
Bash
Executable File

#!/usr/bin/env bash
cd "$CODESIGNING_FOLDER_PATH/Frameworks"
tbbFilename=$(otool -L libNullkiller.dylib | egrep --only-matching 'libtbb\S+')
if [[ -L "$tbbFilename" ]]; then
mv -f "$(readlink "$tbbFilename")" "$tbbFilename"
fi