Jeeva
Jeeva

Reputation: 4865

Jetpack compose for desktop: run application as administrator on windows?

I am trying out Jetpack Compose for Desktop for the first time.

My app requires executing some external commands that require admin privilege.

How do I make the exe open as administrator when launched by the user?

Upvotes: 4

Views: 297

Answers (1)

Mahozad
Mahozad

Reputation: 24712

There is a Gradle plugin for that.

See the project README for an example manifest that makes the exe run as administrator.

Upvotes: 0

Related Questions