I think if you want to try to maintain the friendship (or some sort of it with her) then you should def tell her in person. Be strong and tell her. If she’s your friend she has a right to know. And if all hell breaks loose you can at least know you owned up and were trying to be honest with her. That should count for something. Although if I were her I would be pissed.