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