pwsp 1.7.4

PWSP lets you play audio files through your microphone. Has both CLI and GUI clients.
1
2
3
4
5
6
use std::{error::Error, path::PathBuf};

pub fn get_config_path() -> Result<PathBuf, Box<dyn Error>> {
    let config_path = dirs::config_dir().expect("Failed to obtain config dir");
    Ok(config_path.join("pwsp"))
}