uvm-install2

Crates.iouvm-install2
lib.rsuvm-install2
version0.9.3
sourcesrc
created_at2019-11-04 11:00:16.330866
updated_at2024-06-27 10:14:25.198312
descriptionInstall specified unity version.
homepage
repositoryhttps://github.com/Larusso/unity-version-manager
max_upload_size
id177995
size84,041
Manfred Endres (Larusso)

documentation

README

uvm-install2

This is a new installer which aims to have 100% compatibility with Unity Hub.

Usage

cli:

USAGE:
    uvm-install2 [FLAGS] [OPTIONS] <version> [--] [destination]

FLAGS:
    -d, --debug
            print debug output
    -h, --help
            Prints help information
        --with-sync
            install also synced modules
    -V, --version
            Prints version information
    -v, --verbose
            print more output

OPTIONS:
        --color <color>
            Coloring [default: auto]  [possible values: auto, always, never]
    -m, --module <module>...
            A support module to install. You can list all awailable
            modules for a given version using `uvm-modules`
ARGS:
    <version>
            The unity version to install in the form of `2018.1.0f3`
    <destination>
            A directory to install the requested version to

lib crate

use uvm_install2::unity::{Component, Version};
let version = Version::b(2019, 3, 0, 8);
let components = [Component::Android, Component::Ios];
let install_sync_modules = true
uvm_install2::install(&version, Some(&components), install_sync_modules, Some("/install/path"))?;
Commit count: 366

cargo fmt