In a large skillet over medium heat, melt the ghee, then add the onion and salt. Cook the onions, stirring occasionally, until they are starting to turn golden, about 10 minutes. Add the apple and cook for another 3-4 minutes, until the apples are softening. Remove from heat and let cool slightly.