1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-28 01:06:37 +03:00

fix build on windows

This commit is contained in:
Wez Furlong 2020-05-06 20:53:51 -07:00
parent c53ab60940
commit 407e4f855c

View File

@ -804,7 +804,7 @@ fn run() -> anyhow::Result<()> {
SetStdHandle(STD_ERROR_HANDLE, stderr.into_raw_file_descriptor());
*/
std::env::set_current_dir(config::HOME_DIR)?;
std::env::set_current_dir(config::HOME_DIR.as_path())?;
}
};
pretty_env_logger::init_timed();