Merge branch '1.6.0' of https://github.com/MatterHackers/MatterControl into 1.6.0
This commit is contained in:
commit
46d4a321fc
1 changed files with 2 additions and 1 deletions
|
|
@ -89,7 +89,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
|
||||
private static string GetProfilesDirectoryForUser(string userName)
|
||||
{
|
||||
string userProfilesDirectory = Path.Combine(ApplicationDataStorage.ApplicationUserDataPath, "Profiles", userName);
|
||||
string userAndEnvName = (userName == "guest") ? userName : ApplicationController.EnvironmentName + userName;
|
||||
string userProfilesDirectory = Path.Combine(ApplicationDataStorage.ApplicationUserDataPath, "Profiles", userAndEnvName);
|
||||
|
||||
// Ensure directory exists
|
||||
Directory.CreateDirectory(userProfilesDirectory);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue