Skip to content

Instantly share code, notes, and snippets.

@JonathanPorta
Last active June 12, 2019 20:14
Show Gist options
  • Save JonathanPorta/bdba66a88be2ca470a10 to your computer and use it in GitHub Desktop.
Save JonathanPorta/bdba66a88be2ca470a10 to your computer and use it in GitHub Desktop.
Unity3D CI Install Script
#! /bin/sh
# Example install script for Unity3D project. See the entire example: https://github.com/JonathanPorta/ci-build
# This link changes from time to time. I haven't found a reliable hosted installer package for doing regular
# installs like this. You will probably need to grab a current link from: http://unity3d.com/get-unity/download/archive
echo 'Downloading from http://netstorage.unity3d.com/unity/3757309da7e7/MacEditorInstaller/Unity-5.2.2f1.pkg: '
curl -o Unity.pkg http://netstorage.unity3d.com/unity/3757309da7e7/MacEditorInstaller/Unity-5.2.2f1.pkg
echo 'Installing Unity.pkg'
sudo installer -dumplog -package Unity.pkg -target /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment