Skip to content

Commit 7e604c0

Browse files
committed
Fix Unity integration
1 parent 6f38a55 commit 7e604c0

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/BitMono.Build.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -150,22 +150,22 @@ jobs:
150150
name="$(basename "$dll")"
151151
base="${name%.*}"
152152
guid="${base}000000000000000000000000000000"
153-
cat > "$meta" <<META
154-
fileFormatVersion: 2
155-
guid: $guid
156-
PluginImporter:
157-
serializedVersion: 2
158-
isPreloaded: 0
159-
isOverridable: 0
160-
platformData:
161-
- first:
162-
Any:
163-
second:
164-
enabled: 0
165-
userData:
166-
assetBundleName:
167-
assetBundleVariant:
168-
META
153+
printf '%s\n' \
154+
"fileFormatVersion: 2" \
155+
"guid: ${guid}" \
156+
"PluginImporter:" \
157+
" serializedVersion: 2" \
158+
" isPreloaded: 0" \
159+
" isOverridable: 0" \
160+
" platformData:" \
161+
" - first:" \
162+
" Any:" \
163+
" second:" \
164+
" enabled: 0" \
165+
" userData:" \
166+
" assetBundleName:" \
167+
" assetBundleVariant:" \
168+
> "$meta"
169169
done < <(find "$CLI_DIR" -type f -name "*.dll" -print0)
170170
fi
171171

0 commit comments

Comments
 (0)