Skip to content

Commit

Permalink
Bump to 2.10.0, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sttz committed Mar 13, 2022
1 parent 1772d73 commit 2210051
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 20 deletions.
9 changes: 9 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
2 changes: 1 addition & 1 deletion Command/Command.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<PropertyGroup Label="Package">
<Version>2.9.0</Version>
<Version>2.10.0</Version>
<Authors>Adrian Stutz (sttz.ch)</Authors>
<Product>install-unity CLI</Product>
<Description>CLI for install-unity unofficial Unity installer library</Description>
Expand Down
47 changes: 29 additions & 18 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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 <path>] [--opt <name>=<value>...] <action>
Expand All @@ -138,7 +145,8 @@ ACTIONS:
USAGE: install-unity [options] [install] [--packages <name,name>...]
[--download] [--install] [--upgrade]
[--platform none|macos|windows|linux] [--yolo] [<version>]
[--platform none|macosintel|macosarm|windows|linux]
[--yolo] [<version>]
OPTIONS:
<version> Pattern to match Unity version or release notes / unity hub
Expand All @@ -150,35 +158,38 @@ 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
---- LIST:
Get an overview of available or installed Unity versions
USAGE: install-unity [options] list [--installed]
[--platform none|macos|windows|linux] [<version>]
[--platform none|macosintel|macosarm|windows|linux]
[<version>]
OPTIONS:
<version> 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]
[<version>]
OPTIONS:
<version> 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:
Expand Down
2 changes: 1 addition & 1 deletion sttz.InstallUnity/sttz.InstallUnity.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<PropertyGroup Label="Package">
<Version>2.9.0</Version>
<Version>2.10.0</Version>
<Authors>Adrian Stutz (sttz.ch)</Authors>
<Product>install-unity</Product>
<Description>install-unity unofficial Unity installer library</Description>
Expand Down

0 comments on commit 2210051

Please sign in to comment.