Add some todos

pull/35/head
Miepee 4 years ago
parent df0fb9e22e
commit d175674a2e

@ -166,6 +166,7 @@ public static class LauncherUpdater
log.Info("Current version (" + VERSION + ") is outdated! Initiating update for version " + onlineVersion + "."); log.Info("Current version (" + VERSION + ") is outdated! Initiating update for version " + onlineVersion + ".");
// TODO: do we really want this to be in AM2rlauncherdata path, instead of in an actual temp folder?
string tmpUpdatePath = CrossPlatformOperations.CurrentPath + "/tmpupdate/"; string tmpUpdatePath = CrossPlatformOperations.CurrentPath + "/tmpupdate/";
string zipPath = CrossPlatformOperations.CurrentPath + "/launcher.zip"; string zipPath = CrossPlatformOperations.CurrentPath + "/launcher.zip";

@ -335,6 +335,7 @@ public static class Profile
{ {
log.Info($"Installing profile {profile.Name}..."); log.Info($"Installing profile {profile.Name}...");
// TODO: should we patch in some temp path first, and then later move to the profile path?
string profilePath = $"{Core.ProfilesPath}/{profile.Name}"; string profilePath = $"{Core.ProfilesPath}/{profile.Name}";
// Failsafe for Profiles directory // Failsafe for Profiles directory
@ -588,6 +589,7 @@ public static class Profile
// Create working dir after some cleanup // Create working dir after some cleanup
string apktoolPath = $"{Core.PatchDataPath}/utilities/android/apktool.jar"; string apktoolPath = $"{Core.PatchDataPath}/utilities/android/apktool.jar";
string uberPath = $"{Core.PatchDataPath}/utilities/android/uber-apk-signer.jar"; string uberPath = $"{Core.PatchDataPath}/utilities/android/uber-apk-signer.jar";
// TODO: do we really want to do this in AM2RLauncher path instead of an actual temp path?
string tempDir = new DirectoryInfo($"{CrossPlatformOperations.CurrentPath}/temp").FullName; string tempDir = new DirectoryInfo($"{CrossPlatformOperations.CurrentPath}/temp").FullName;
string dataPath = CrossPlatformOperations.CurrentPath + profile.DataPath; string dataPath = CrossPlatformOperations.CurrentPath + profile.DataPath;

Loading…
Cancel
Save