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 . --upgradeunitybuild -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
autobuildfolder. Detail seeDependencybelow. - 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
zipalignapksignerdepends 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.yamlfor hotfix server.resources-local.yamlfor copy files from resources to package.resources-update.yamlfor update files from hotfix server to external storage.
- Add your own signature files to
androidandiosfolders. Filenames must not be changed:android/keystoreandroid/pwd: keystore passwordios/embedded.mobileprovisionios/entitlements.plist
- Depends on
- not fully tested.
- onesdk for iOS.
- number of multi-thread should be limited.
- post process