From fbcf958ead0d1c532ecd79308a001f6f481a23d2 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Wed, 15 Dec 2021 15:51:40 -0700 Subject: [PATCH] Resolves Install USB Creation using incorrect installer --- CHANGELOG.md | 1 + resources/cli_menu.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8399e40c1..c6e780567 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # OpenCore Legacy Patcher changelog ## 0.3.4 +- Resolves Install USB Creation using incorrect installer ## 0.3.3 - Disable Asset Caching support with spoofless approach diff --git a/resources/cli_menu.py b/resources/cli_menu.py index 040d3566f..8299f0fdb 100644 --- a/resources/cli_menu.py +++ b/resources/cli_menu.py @@ -1137,7 +1137,7 @@ B. Exit avalible_installers = installer.list_local_macOS_installers() if avalible_installers: for app in avalible_installers: - options.append([f"{avalible_installers[app]['Short Name']}: {avalible_installers[app]['Version']} ({avalible_installers[app]['Build']})", lambda: self.list_disks(avalible_installers[app]['Path'])]) + options.append([f"{avalible_installers[app]['Short Name']}: {avalible_installers[app]['Version']} ({avalible_installers[app]['Build']})", lambda x=app: self.list_disks(avalible_installers[x]['Path'])]) for option in options: menu.add_menu_option(option[0], function=option[1]) response = menu.start()