Function tauri_bundler::bundle::common::is_retina[][src]

pub fn is_retina<P: AsRef<Path>>(path: P) -> bool

Returns true if the path has a filename indicating that it is a high-desity “retina” icon. Specifically, returns true the the file stem ends with “@2x” (a convention specified by the Apple developer docs).