Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Added desktop folder in profile creation
Browse files Browse the repository at this point in the history
  • Loading branch information
TonCunha committed May 20, 2020
1 parent 5233262 commit ed6d801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MMT.Core/ProfileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public void Save(string profileName)
if (GetProfiles().Any(p => p.ToUpper().Equals(profileName.ToUpper())))
throw new ArgumentException("This profile already exists.");

string path = Path.Combine(_customProfilesPath, profileName);
Directory.CreateDirectory(path);
Directory.CreateDirectory(Path.Combine(_customProfilesPath, profileName));
Directory.CreateDirectory(Path.Combine(_customProfilesPath, profileName, "Desktop"));
}

public void Delete(string profileName)
Expand Down

0 comments on commit ed6d801

Please sign in to comment.