Path extraction not working
Closed this issue · 0 comments
V10lator commented
This little patch fixes it for me:
diff --git a/efiboots.py b/efiboots.py
index 25e8bb9..96c1a0f 100644
--- a/efiboots.py
+++ b/efiboots.py
@@ -152,7 +152,7 @@ def auto_detect_esp():
sys.exit(-1)
-efibootmgr_regex = re.compile(r'^Boot([0-9A-F]+)(\*)? (.+)\t(?:.+File\((.+)\))?.*\)(.*)$')
+efibootmgr_regex = re.compile(r'^Boot([0-9A-F]+)(\*)? (.+)\t.*File\((.+)\)?.*\)(.*)$')
def try_decode_efibootmgr(code):