Skip to content

Commit

Permalink
Add commented-out test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgamerz committed Sep 20, 2021
1 parent d9c860d commit d553cfc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion ALOTInstallerWPF/BuilderUI/StartupUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows;
Expand All @@ -12,6 +13,7 @@
using ALOTInstallerCore.ModManager.Objects;
using ALOTInstallerCore.ModManager.Services;
using ALOTInstallerCore.Objects;
using ALOTInstallerCore.Objects.Manifest;
using ALOTInstallerCore.Steps;
using ALOTInstallerWPF.Flyouts;
using ALOTInstallerWPF.Helpers;
Expand Down Expand Up @@ -301,7 +303,17 @@ void setStatus(string message)
}
}, x => pd.SetMessage(x));


// TEST
//TextureModInstallationInfo tmii = TextureModInstallationInfo.CalculateMarker(Locations.ME3Target.GetInstalledALOTInfo(), ManifestHandler.GetManifestFilesForMode(ManifestMode.ALOT).Where(x => (x.ApplicableGames & ApplicableGame.ME3) != 0).ToList());
//tmii.ALOT_INSTALLER_VERSION_USED = (short)Utilities.GetLibraryVersion().Build;
//int version = 0;
//// If the current version doesn't support the --version --ipc, we just assume it is 0.
//tmii.MEM_VERSION_USED = MEMIPCHandler.GetMemVersion();
//tmii.SetInstalledFiles(ManifestHandler.GetManifestFilesForMode(ManifestMode.ALOT).Where(x => (x.ApplicableGames & ApplicableGame.ME3) != 0).ToList());
//tmii.InstallationTimestamp = DateTime.Now;
//Locations.ME3Target.StampTextureModificationInfo(tmii);
//Locations.ME3Target.ReloadGameTarget();
//Debug.WriteLine("hi");
}
catch (Exception e)
{
Expand Down

0 comments on commit d553cfc

Please sign in to comment.