We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e75510 commit 4fd6a95Copy full SHA for 4fd6a95
sync-yarnspinner-dlls.sh
@@ -6,12 +6,12 @@
6
# Usage: ./sync-yarnspinner-dlls.sh {PATH TO YARNSPINNER-UNITY PROJECT}
7
8
set -e
9
-pushd $1
10
-
11
-YARNSPINNER_FOLDER=$(readlink -f $1/../YarnSpinner)
12
+YARNSPINNER_FOLDER=$(readlink -f "$(dirname $0)")
13
YARNSPINNER_DLLS_DIR=$1/Packages/dev.yarnspinner.unity/Runtime/DLLs/
14
+pushd $1
+
15
if [ ! -d $YARNSPINNER_DLLS_DIR ]; then
16
echo "Can't copy Yarn Spinner DLLS to $YARNSPINNER_DLLS_DIR because this directory does not exist"
17
exit 1
0 commit comments