Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thesimplekid
helix
helix-runtime-path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File helix-runtime-path.patch of Package helix
Index: helix-22.12/helix-loader/src/lib.rs =================================================================== --- helix-22.12.orig/helix-loader/src/lib.rs 2023-03-06 10:51:51.196485557 +0100 +++ helix-22.12/helix-loader/src/lib.rs 2023-03-06 10:52:38.460917379 +0100 @@ -41,6 +41,11 @@ pub fn runtime_dir() -> PathBuf { return conf_dir; } + let rt_dir = std::path::PathBuf::from("@HELIX_RUNTIME_DIR@").join(RT_DIR); + if rt_dir.exists() { + return rt_dir; + } + // fallback to location of the executable being run // canonicalize the path in case the executable is symlinked std::env::current_exe()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor