mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-04-26 23:55:17 +00:00
add hasWrapper()
This commit is contained in:
@@ -84,4 +84,12 @@ public abstract class SystemVersion {
|
||||
public static int getAndroidVersion() {
|
||||
return _androidSDK;
|
||||
}
|
||||
|
||||
/**
|
||||
* Is the wrapper present?
|
||||
* Same as I2PAppContext.hasWrapper()
|
||||
*/
|
||||
public static boolean hasWrapper() {
|
||||
return System.getProperty("wrapper.version") != null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user