Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/I-Script/Japp-Elevator

Java app admin elevator
https://github.com/I-Script/Japp-Elevator

Last synced: about 1 month ago
JSON representation

Java app admin elevator

Awesome Lists containing this project

README

        

###Japp-Elevator
####What is it

Is a small library which allow you to elevate your application as admin rights.
You will be able to write/copy and other actions without SecurityException.

####How to use

Simply, call the method `Japp#elevateApplication` and stop the app if the returned value is `true`.
Example:

public class Main {
public static void main(String[] args) {
if(Japp.elevateApplication()) return;

System.out.println("Application is now running as administrator.");
}
}

Your application is now running as administrator.