From ea43d6c801f07c27be49c02c4933ad7ff550645b Mon Sep 17 00:00:00 2001 From: lethosor Date: Thu, 10 Aug 2023 15:06:45 -0400 Subject: [PATCH] get_code_segment(): update check for DF executable on Linux --- library/lua/memscan.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/library/lua/memscan.lua b/library/lua/memscan.lua index a8c265adb..a4c07d38c 100644 --- a/library/lua/memscan.lua +++ b/library/lua/memscan.lua @@ -217,6 +217,7 @@ function get_code_segment() for i,mem in ipairs(dfhack.internal.getMemRanges()) do if mem.read and mem.execute and (string.match(mem.name,'/dwarfort%.exe$') + or string.match(mem.name,'/dwarfort$') or string.match(mem.name,'/Dwarf_Fortress$') or string.match(mem.name,'Dwarf Fortress%.exe')) then