Prepares a mod for installation.
Inheritance: BackgroundTask
Exemplo n.º 1
0
        /// <summary>
        /// Puts the mod into read-only mode.
        /// </summary>
        /// <returns><c>true</c> if the the read only mode started;
        /// <c>false</c> otherwise.</returns>
        private bool BeginModReadOnlyTransaction()
        {
            PrepareModTask pmtTask = new PrepareModTask(FileUtility);

            OnTaskStarted(pmtTask);
            return(pmtTask.PrepareMod(Mod));
        }
Exemplo n.º 2
0
		/// <summary>
		/// Puts the mod into read-only mode.
		/// </summary>
		/// <returns><c>true</c> if the the read only mode started;
		/// <c>false</c> otherwise.</returns>
		private bool BeginModReadOnlyTransaction()
		{
			PrepareModTask pmtTask = new PrepareModTask(FileUtility);
			OnTaskStarted(pmtTask);
			return pmtTask.PrepareMod(Mod);
		}