Skip to content

Commit

Permalink
Check for Resources on case sensitive fs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrewster committed Jul 1, 2016
1 parent f2d7982 commit 292a5e9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/util/resource_files.rs
Expand Up @@ -46,6 +46,12 @@ pub fn resources_dir_path() -> PathBuf {
break;
}
path.pop();
// Check for Resources on mac when using a case sensitive filesystem.
path.push("Resources");
if path.is_dir() {
break;
}
path.pop();
}
*dir = Some(path.to_str().unwrap().to_owned());
path
Expand Down

0 comments on commit 292a5e9

Please sign in to comment.