@kassi I am so sorry for what you’re going through. Three days after I rescued my dog she was diagnosed with distemper so I get it. She weighed 25 lbs less than she does now so we needed to get her weight up if she wanted to survive.
Try and incorporate as many high calorie foods into her diet...