Update for Blizzard's new naming convention: Wow.exe -> WowClassic.exe.

This commit is contained in:
Casper V. Kristensen 2020-01-08 22:04:28 +01:00
parent 431e6b4311
commit 376c485a5a
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -16,7 +16,7 @@ class CLI:
self.installed_addons = addons.load_installed_addons() self.installed_addons = addons.load_installed_addons()
def validate_addons_dir(self) -> None: def validate_addons_dir(self) -> None:
if not config.ADDONS_DIR.joinpath("../../Wow.exe").is_file(): if not config.ADDONS_DIR.joinpath("../../WowClassic.exe").is_file():
a = input("Error: The application must be run from the Interface/AddOns directory. Continue anyway [y/N]? ") a = input("Error: The application must be run from the Interface/AddOns directory. Continue anyway [y/N]? ")
if a.lower() != "y": if a.lower() != "y":
exit() exit()