You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: resources.rs
    path of file: ./repos/mullvadvpn-app/mullvad-paths/src
    
    the code of the file until where you have to start completion: use std::{env, path::PathBuf};

pub fn get_resource_dir() -> PathBuf {
    match env::var_os
    
pub fn get_default_resource_dir() -> PathBuf {
    #[cfg(not(target_os = "android"))]
    {
        match env::current_exe() {
            Ok(mut path) => {
                path.pop();
                path
            }
            Err(e) => {
                log::error!(
                    "Failed finding the install directory. Using working directory: {}",
                    e
                );
                PathBuf::from(".")
            }
        }
    }
    #[cfg(target_os = "android")]
    {
        PathBuf::from(crate::APP_PATH)
    }
}