From d175674a2e01e2fc6e673c6a1e066bfe5283a005 Mon Sep 17 00:00:00 2001 From: Miepee Date: Sat, 29 Oct 2022 13:32:57 +0200 Subject: [PATCH] Add some todos --- AM2RLauncher/AM2RLauncher/LauncherUpdater.cs | 1 + AM2RLauncher/AM2RLauncherLib/Profile.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs index 67818c4..291f7e2 100644 --- a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs +++ b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs @@ -166,6 +166,7 @@ public static class LauncherUpdater 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 zipPath = CrossPlatformOperations.CurrentPath + "/launcher.zip"; diff --git a/AM2RLauncher/AM2RLauncherLib/Profile.cs b/AM2RLauncher/AM2RLauncherLib/Profile.cs index 42144d3..2400ab2 100644 --- a/AM2RLauncher/AM2RLauncherLib/Profile.cs +++ b/AM2RLauncher/AM2RLauncherLib/Profile.cs @@ -335,6 +335,7 @@ public static class Profile { 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}"; // Failsafe for Profiles directory @@ -588,6 +589,7 @@ public static class Profile // Create working dir after some cleanup string apktoolPath = $"{Core.PatchDataPath}/utilities/android/apktool.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 dataPath = CrossPlatformOperations.CurrentPath + profile.DataPath;