Unity build command tools for android, ios, windows, macOSX. Support hot-fix by generating resources list and upload to server.
Mac OS is fully supported.
if you're windows user, see this: how-to-install-and-use-the-linux-bash-shell-on-windows-10
sudo pip install .
# or if already installed, run this:
sudo pip install . --upgrade
unitybuild -h/--help
# for example:
unitybuild -c android-yyb --git-rev 9f08a67 --version-name 1.0.0 --version-code 2 --unity-project your_unity_project_path -b master --output ./output
- Unity project must has
autobuild
folder. Detail seeDependency
below. - Resources directory must be the same as unity project. eg.
--root |--unity-project |--Assets |--autobuild |--... |--resources
- Unity
- Xcode
- git command tool
- subversion command tool
- python 2.7
- Java env
- Android SDK
zipalign
apksigner
depends on android build tools 24.0.3 and higher.
- Android NDK
- unity-onesdk
- unity-framework
- Depends on
Assets/Editor/Build.cs
. Add build target scenes toBuild.cs
. - Modify
autobuild/config
. - Modify
autobuild/*.yaml
.resources-hotfix-server.yaml
for hotfix server.resources-local.yaml
for copy files from resources to package.resources-update.yaml
for update files from hotfix server to external storage.
- Add your own signature files to
android
andios
folders. Filenames must not be changed:android/keystore
android/pwd
: keystore passwordios/embedded.mobileprovision
ios/entitlements.plist
- Depends on
- not fully tested.
- onesdk for iOS.
- number of multi-thread should be limited.
- post process