From 81fe73dd03b1584cc8fa143e04a6f14536d42047 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Wed, 16 Oct 2024 19:38:23 +0700 Subject: [PATCH] Update function to download Windows Binary Tools due to Intel changes --- Scripts/dsdt.py | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Scripts/dsdt.py b/Scripts/dsdt.py index a7a0da2..cfa37b0 100644 --- a/Scripts/dsdt.py +++ b/Scripts/dsdt.py @@ -29,7 +29,7 @@ class DSDT: exception = "Could not locate or download iasl!" if url: exception += "\n\nPlease manually download {} from:\n - {}\n\nAnd place in:\n - {}\n".format( - "and extract iasl.exe and acpidump.exe" if os.name=="nt" else "iasl", + "and extract iasl.exe" if os.name=="nt" else "iasl", url, os.path.dirname(os.path.realpath(__file__)) ) @@ -254,18 +254,8 @@ class DSDT: #source = self.dl.get_string(self.acpi_binary_tools, headers=self.h) source = self.fetcher.fetch_and_parse_content(self.acpi_binary_tools) for line in source.split("\n"): - # iASL Compiler and Windows ACPI Tools - if "windows-binary-tools" in line and ">iasl compiler and windows acpi tools" in line.lower(): - # Try to scrape and load the next page - try: - dl_page_url = "https://www.intel.com" + line.split('iasl compiler and windows acpi tools" in line.lower(): + return line.split('