예제 #1
0
        public Core(Environment env, Client.Settings settings = null)
        {
            this.env = env;

            this.settings = settings?.Clone() ?? new Client.Settings();

            finalDownloadedPath        = PathUtils.FixDirectorySeparator(Config.DOWNLOADED_PATH_ROOT + Config.DASH);
            finalDownloadedAssetDbPath = PathUtils.FixDirectorySeparator(Config.ASSET_BUNDLES_PATH_ROOT + Config.DASH);

            if (Utils.ParseOption(Config.CLI_SET_CUSTOM_OUTPUT_ROOT_PATH, 1, out string[] outputPath))
예제 #2
0
        public Core(Environment env, Client.Settings settings = null)
        {
            this.env = env;

            this.settings = settings?.Clone() ?? new Client.Settings();

            finalDownloadedPath = PathUtils.FixDirectorySeparator(Config.DOWNLOADED_PATH_ROOT + Config.DASH);
            log.verboseEnabled  = this.settings.verbose;

            state.step = State.Step.IDLE;
        }