Heat a small amount of oil in a pan and sauté the onion over low heat for 15 minutes, stirring constantly and adding a bit of water if necessary to prevent burning.
Deglaze with half of the wine and let the alcohol evaporate over high heat. Cover the pan and continue cooking over low heat for 10 minutes.
Add the sliced liver to the pan and sear it on both sides for a couple of minutes.
Pour in the remaining wine and let the alcohol evaporate over high heat. Season the liver with salt and continue cooking over medium heat until the liver is cooked through (about 7-8 minutes).