private static string UserStore {
get {
- if (user_store == null)
- user_store = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.Personal),
- ".mono/registry");
+ if (user_store == null) {
+ user_store = Environment.GetEnvironmentVariable ("MONO_CURRENTUSER_REGISTRY_PATH");
+ if (string.IsNullOrEmpty(user_store)) {
+ user_store = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.Personal),
+ ".mono/registry");
+ }
+ }
return user_store;
}