add function get_platform_name