From 221005111b983f33d958f010155af18f3f4086d6 Mon Sep 17 00:00:00 2001 From: Adrian Stutz Date: Sun, 13 Mar 2022 17:28:03 +0100 Subject: [PATCH] Bump to 2.10.0, update changelog --- Changelog.md | 9 +++++ Command/Command.csproj | 2 +- Readme.md | 47 +++++++++++++--------- sttz.InstallUnity/sttz.InstallUnity.csproj | 2 +- 4 files changed, 40 insertions(+), 20 deletions(-) diff --git a/Changelog.md b/Changelog.md index 3bd37c2..d8a5090 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,14 @@ # Changelog +### 2.10.0 (2022-02-16) +* Add support for installing Apple Silicon editor +* Use `--platform macOSArm` to download the Apple Silicon editor on other platforms +* Use `--platform macOSIntel` to install Intel editors on Apple Silicon +* Distribute install-unity as universal binary (using .Net 6 single file support) +* Fix Unity asking again to upgrade project when upgrade was already confirmed in the interactive prompt +* Install Android SDK 30 on Unity 2019.4+ +* Install Android Platform Tools 30.0.4 on Unity 2021.1+ + ### 2.9.0 (2020-09-05) * `install` is now the default action, so e.g. `install-unity 2021.1` works * Add interactive prompt to upgrade a Unity project with `run` diff --git a/Command/Command.csproj b/Command/Command.csproj index 0c4dcf4..8d5fd0e 100644 --- a/Command/Command.csproj +++ b/Command/Command.csproj @@ -10,7 +10,7 @@ - 2.9.0 + 2.10.0 Adrian Stutz (sttz.ch) install-unity CLI CLI for install-unity unofficial Unity installer library diff --git a/Readme.md b/Readme.md index 1d87b10..cc90ba3 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,7 @@ A command-line utility to install any recent version of Unity. -Currently only supports macOS but support for Windows/Linux is possible, PRs welcome. +Currently only supports macOS (Intel & Apple Silicon) but support for Windows/Linux is possible, PRs welcome. ## Table of Contents @@ -43,13 +43,6 @@ In case install-unity fails to discover a release, it's also possible to pass a install-unity details https://unity3d.com/unity/whats-new/unity-2018.3.0 install-unity install unityhub://2018.3.0f2/6e9a27477296 - -### Patch Releases - -With the switch to LTS versions, Unity has stopped creating patch releases for Unity 2017.3 and newer. install-unity no longer scans for patch releases but you can still install them by specifying the full version number. - - install-unity install 2017.2.3p3 - ## Packages The command above will install the default packages as specified by Unity. @@ -62,6 +55,14 @@ Will show the available packages for a given version. You can then select the pa install-unity install f -p Unity Linux iOS Android install-unity install 2018.3b -p Unity -p Android -p Linux +## Apple Silicon + +By default, `install-unity` will download and install the Unity editor matching the current platform. + +Use `--platform macOSIntel` to download and install the Intel editor on Apple Silicon. + +Use `--platform macOSArm` on Intel to download the Apple Silicon editor. + ## Offline Install install-unity can be used in a two-step process, first downloading the packages and then later installing them without needing an internet connection. @@ -110,10 +111,16 @@ The project will use Unity's default setup, including packages. Alternatively, y install-unity create --type minimal 2020.1 ~/Desktop/my-project +### Patch Releases + +With the switch to LTS versions, Unity has stopped creating patch releases for Unity 2017.3 and newer. install-unity no longer scans for patch releases but you can still install them by specifying the full version number. + + install-unity install 2017.2.3p3 + ## CLI Help ```` -install-unity v2.9.0 +install-unity v2.10.0 USAGE: install-unity [--help] [--version] [--verbose...] [--yes] [--update] [--data-path ] [--opt =...] @@ -138,7 +145,8 @@ ACTIONS: USAGE: install-unity [options] [install] [--packages ...] [--download] [--install] [--upgrade] - [--platform none|macos|windows|linux] [--yolo] [] + [--platform none|macosintel|macosarm|windows|linux] + [--yolo] [] OPTIONS: Pattern to match Unity version or release notes / unity hub @@ -150,8 +158,9 @@ OPTIONS: '--data-path') --upgrade Replace existing matching Unity installation after successful install - --platform none|macos|windows|linux Platform to download the packages for - (only valid with '--download', default = current platform) + --platform none|macosintel|macosarm|windows|linux Platform to download + the packages for (only valid with '--download', default = + current platform) --yolo Skip size and hash checks of downloaded files @@ -159,26 +168,28 @@ OPTIONS: Get an overview of available or installed Unity versions USAGE: install-unity [options] list [--installed] - [--platform none|macos|windows|linux] [] + [--platform none|macosintel|macosarm|windows|linux] + [] OPTIONS: Pattern to match Unity version -i, --installed List installed versions of Unity - --platform none|macos|windows|linux Platform to list the versions for - (default = current platform) + --platform none|macosintel|macosarm|windows|linux Platform to list the + versions for (default = current platform) ---- DETAILS: Show version information and all its available packages -USAGE: install-unity [options] details [--platform none|macos|windows|linux] +USAGE: install-unity [options] details + [--platform none|macosintel|macosarm|windows|linux] [] OPTIONS: Pattern to match Unity version or release notes / unity hub url - --platform none|macos|windows|linux Platform to show the details for - (default = current platform) + --platform none|macosintel|macosarm|windows|linux Platform to show the + details for (default = current platform) ---- UNINSTALL: diff --git a/sttz.InstallUnity/sttz.InstallUnity.csproj b/sttz.InstallUnity/sttz.InstallUnity.csproj index a8130c6..6105a5a 100644 --- a/sttz.InstallUnity/sttz.InstallUnity.csproj +++ b/sttz.InstallUnity/sttz.InstallUnity.csproj @@ -7,7 +7,7 @@ - 2.9.0 + 2.10.0 Adrian Stutz (sttz.ch) install-unity install-unity unofficial Unity installer library