Make icon paths not be (as) environment-dependent.

This commit is contained in:
Signal 2026-02-15 19:27:40 -05:00
parent 48ffa74bfd
commit 72b453f14c

View file

@ -174,7 +174,7 @@ function theme.icon(name)
end
end
local path = os.getenv("HOME").."/eclipse-workspace/mtmenu/textures/"..name..".png"
local path = menupath.."textures/"..name..".png"
return file_exists(path) and path or assets..name..".png"
end