From 44a17b91657da0cbbcd4976f7dfaa1d4bd1995df Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 17 Oct 2022 15:26:12 -0400 Subject: [PATCH] Add all 2017 game patch files, and stick it in the home directory --- tests/integration_test.rs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/tests/integration_test.rs b/tests/integration_test.rs index 1a5c668..ea3c372 100755 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -34,7 +34,7 @@ fn test_gamedata_extract() { fn make_temp_install_dir(name: &str) -> String { let installer_exe = env::var("FFXIV_INSTALLER").unwrap(); - let mut game_dir = env::temp_dir(); + let mut game_dir = env::home_dir().unwrap(); game_dir.push(name); if std::fs::read_dir(&game_dir).ok().is_some() { @@ -114,12 +114,29 @@ fn test_patching() { physis_install_patch(&physis_dir, "boot", patch); } - let game_patches = ["game/D2017.07.11.0000.0001.patch", + let game_patches = + ["game/H2017.06.06.0000.0001a.patch", + "game/H2017.06.06.0000.0001b.patch", + "game/H2017.06.06.0000.0001c.patch", + "game/H2017.06.06.0000.0001d.patch", + "game/H2017.06.06.0000.0001e.patch", + "game/H2017.06.06.0000.0001f.patch", + "game/H2017.06.06.0000.0001g.patch", + "game/H2017.06.06.0000.0001h.patch", + "game/H2017.06.06.0000.0001i.patch", + "game/H2017.06.06.0000.0001j.patch", + "game/H2017.06.06.0000.0001k.patch", + "game/H2017.06.06.0000.0001l.patch", + "game/H2017.06.06.0000.0001m.patch", + "game/H2017.06.06.0000.0001n.patch", + "game/D2017.07.11.0000.0001.patch", "game/D2017.09.24.0000.0001.patch"]; println!("Boot patching is now complete. Now running game patching..."); for patch in game_patches { + println!("Installing {}...", patch); + xivlauncher_install_patch(&xivlauncher_dir, "game", patch); physis_install_patch(&physis_dir, "game", patch); }