blob: ee8dfd910530f717ed20a3746ae7097c2b0359a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- helix-core/src/lib.rs.orig 2021-09-18 05:55:12 UTC
+++ helix-core/src/lib.rs
@@ -73,6 +73,8 @@ pub fn runtime_dir() -> std::path::PathBuf {
// this is the directory of the crate being run by cargo, we need the workspace path so we take the parent
return std::path::PathBuf::from(dir).parent().unwrap().join(RT_DIR);
}
+
+ return std::path::PathBuf::from("%%DATADIR%%").join(RT_DIR);
// fallback to location of the executable being run
std::env::current_exe()
|