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('