| | 1 | | using System.IO; |
| | 2 | | using UnityEngine; |
| | 3 | |
|
| | 4 | | namespace DCL.ABConverter |
| | 5 | | { |
| | 6 | | public static class Config |
| | 7 | | { |
| | 8 | | internal const string CLI_VERBOSE = "verbose"; |
| | 9 | | internal const string CLI_ALWAYS_BUILD_SYNTAX = "alwaysBuild"; |
| | 10 | | internal const string CLI_KEEP_BUNDLES_SYNTAX = "keepBundles"; |
| | 11 | | internal const string CLI_BUILD_SCENE_SYNTAX = "sceneCid"; |
| | 12 | | internal const string CLI_BUILD_PARCELS_RANGE_SYNTAX = "parcelsXYWH"; |
| | 13 | | internal const string CLI_SET_CUSTOM_BASE_URL = "baseUrl"; |
| | 14 | |
|
| | 15 | | internal const string CLI_SET_CUSTOM_OUTPUT_ROOT_PATH = "output"; |
| | 16 | |
|
| 0 | 17 | | internal static string ASSET_BUNDLE_FOLDER_NAME = "AssetBundles"; |
| 0 | 18 | | internal static string DOWNLOADED_FOLDER_NAME = "_Downloaded"; |
| | 19 | |
|
| 0 | 20 | | internal static char DASH = Path.DirectorySeparatorChar; |
| | 21 | |
|
| 0 | 22 | | internal static string DOWNLOADED_PATH_ROOT = $"{PathUtils.FixDirectorySeparator(Application.dataPath)}{DASH}{DO |
| 0 | 23 | | internal static string ASSET_BUNDLES_PATH_ROOT = $"{PathUtils.FixDirectorySeparator(Application.dataPath)}{DASH} |
| | 24 | |
|
| 0 | 25 | | internal static string[] bufferExtensions = { ".bin" }; |
| 0 | 26 | | internal static string[] gltfExtensions = { ".glb", ".gltf" }; |
| 0 | 27 | | internal static string[] textureExtensions = { ".jpg", ".png", ".jpeg", ".tga", ".gif", ".bmp", ".psd", ".tiff", |
| | 28 | | } |
| | 29 | | } |