Skip to content

Commit

Permalink
Fix MT3 JP dump NTFS symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
BroGamer4256 committed Jul 17, 2024
1 parent f2dfda1 commit 3d4000e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dist/start.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ for f in ./libso/*; do
rm "$f"
ln -s "$link" "$f"
echo "$f"
elif [[ "$file_type" =~ data ]]; then
header=$(cat "$f" | cut -c -8)
if [[ "$header" =~ IntxLNK ]]; then
link=$(cat "$f" | tr -d '\0' | cut -c 9-)
rm "$f"
ln -s "$link" "$f"
fi
fi
done

Expand Down

0 comments on commit 3d4000e

Please sign in to comment.