Module: U3d

Defined in:
lib/u3d/version.rb,
lib/u3d.rb,
lib/u3d/asset.rb,
lib/u3d/cache.rb,
lib/u3d/utils.rb,
lib/u3d/commands.rb,
lib/u3d/installer.rb,
lib/u3d/downloader.rb,
lib/u3d/installation.rb,
lib/u3d/log_analyzer.rb,
lib/u3d/unity_module.rb,
lib/u3d/unity_runner.rb,
lib/u3d/unity_license.rb,
lib/u3d/unity_project.rb,
lib/u3d/unity_versions.rb,
lib/u3d/failure_reporter.rb,
lib/u3d/commands_generator.rb,
lib/u3d/download_validator.rb,
lib/u3d/hub_modules_parser.rb,
lib/u3d/ini_modules_parser.rb,
lib/u3d/unity_version_number.rb,
lib/u3d/unity_version_definition.rb

Overview

— BEGIN LICENSE BLOCK — Copyright © 2016-present WeWantToKnow AS

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. — END LICENSE BLOCK —

Defined Under Namespace

Modules: Downloader, HubModulesParser, INIModulesParser, INIParser, UnityVersions, Utils Classes: Asset, BaseInstaller, Cache, Commands, CommandsGenerator, CommonInstaller, DownloadValidator, FailureReporter, Installation, Installer, License, LinuxDependencies, LinuxInstallation, LinuxInstallationHelper, LinuxInstaller, LinuxValidator, LogAnalyzer, MacInstallation, MacInstaller, MacValidator, PlaybackEngineUtils, Runner, UnityForums, UnityModule, UnityProject, UnityVersionComparator, UnityVersionDefinition, UnityVersionNumber, WindowsInstallation, WindowsInstallationHelper, WindowsInstaller, WindowsValidator

Constant Summary collapse

Helper =
U3dCore::Helper
UI =
U3dCore::UI
VERSION =
'1.2.0'.freeze
DESCRIPTION =
'Provides numerous tools for installing, managing and running the Unity game engine from command line.'.freeze
UNITY_VERSIONS_NOTE =
"Unity uses the following version formatting: 0.0.0x0. The \'x\' can takes different values:\n"\
"\t. 'f' are the main release candidates for Unity\n"\
"\t. 'p' are patches fixing those releases\n"\
"\t. 'b' are the beta releases\n"\
"\t. 'a' are the alpha releases (not currently discovered)\n".freeze
DEFAULT_LINUX_INSTALL =
'/opt/'.freeze
DEFAULT_MAC_INSTALL =
'/'.freeze
DEFAULT_WINDOWS_INSTALL =
'C:/Program Files/'.freeze
UNITY_DIR =
"Unity_%<version>s".freeze
UNITY_DIR_LONG =
"Unity_%<version>s_%<build_number>s".freeze
UNITY_DIR_LINUX =
"unity-editor-%<version>s".freeze
UNITY_DIR_LINUX_LONG =
"unity-editor-%<version>s_%<build_number>s".freeze
UNITY_DIR_CHECK =
/Unity_\d+\.\d+\.\d+[a-z]\d+/
UNITY_DIR_CHECK_LINUX =
/unity-editor-\d+\.\d+\.\d+[a-z]\d+\z/
U3D_DO_NOT_MOVE =
".u3d_do_not_move".freeze