Etymology
Today it means: In an unsavoury manner. Full definition →
From unsavoury + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.