private static void EntryPointResumeSession(Session previousSession) { CurrentSession = previousSession; IWoWRepository repository = RepositoriesManager.GetRepositoryByMfil(CurrentSession.MFil); ManifestFile manifest = ManifestFile.FromRepository(repository); CurrentSession.SaveSession(); StartProcess(manifest); }
private static void EntryPointNewSession() { IWoWRepository repository = UserInputs.SelectRepository(); ManifestFile manifest = ManifestFile.FromRepository(repository); string locale = UserInputs.SelectLocale(manifest); string os = UserInputs.SelectOs(); CurrentSession = new Session(repository.GetMFilName(), locale, os); CurrentSession.SaveSession(); StartProcess(manifest); }