Last active
August 28, 2019 07:09
-
-
Save monry/9765f64ed0e73aed5d794c6ca6d2b389 to your computer and use it in GitHub Desktop.
First aid for Unity Package Manager for KidsStar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat package.json | jq -M 'del(.dependencies."@umm/unirx") | del(.dependencies."@umm/zenject")' | jq -M . > package.json.tmp | |
mv package.json.tmp package.json | |
rm -Rf Assets/Modules/umm@{unirx,zenject} | |
find Assets -name "*.asmdef" | xargs gsed -i 's/"umm@unirx"/"UniRx"/' | |
find Assets -name "*.asmdef" | xargs gsed -i 's/"umm@unirx-Async"/"UniRx.Async"/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment