TonCunha/multi-microsoft-teams

change profile names

Opened this issue · 1 comments

iljavs commented

It looks like there's no way to change the profile names once they're created. You also can't rename the default profile name. This would be a useful feature to have.

I was wondering the same so I looked at the code. The code just iterates through all of the directory names in %LOCALAPPDATA\Microsoft\Teams\CustomProfiles and uses them for the profile names.

I haven't tried it, but as a workaround, I think you can close all instances of Teams and rename the directories. As long as there are no references to the full path within the profiles it should work.

As for the default profile, that is hard coded. You could change it and recompile, https://github.com/TonCunha/multi-microsoft-teams/blob/2eb173d0d4d0aac1561a419f763c2070bff7c856/src/MMT.Core/ProfileManager.cs#L118C18-L118C18