Added function for displaying device model

This commit is contained in:
Luca Deri 2025-03-25 15:35:19 +01:00
parent d723ac6bc0
commit fbe9b86d88

View file

@ -1812,4 +1812,16 @@ end
-- ################################################################################
function discover.get_model(value)
local m = discover.apple_products[value]
if(m ~= nil) then
return(m)
else
return(value)
end
end
-- ################################################################################
return discover