get_code_segment(): update check for DF executable on Linux

develop
lethosor 2023-08-10 15:06:45 -04:00
parent 0ac7d23bcf
commit ea43d6c801
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 1 additions and 0 deletions

@ -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