-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gui): map back and forward mouse keys for navigation (#807)
- Loading branch information
Showing
5 changed files
with
110 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package jadx.gui.utils; | ||
|
||
import java.util.Locale; | ||
|
||
import jadx.api.JadxDecompiler; | ||
|
||
public class SystemInfo { | ||
public static final String JADX_VERSION = JadxDecompiler.getVersion(); | ||
|
||
public static final String JAVA_VM = System.getProperty("java.vm.name"); | ||
public static final String JAVA_VER = System.getProperty("java.version"); | ||
|
||
public static final String OS_NAME = System.getProperty("os.name"); | ||
public static final String OS_VERSION = System.getProperty("os.version"); | ||
|
||
private static final String LOWER_OS_NAME = OS_NAME.toLowerCase(Locale.ENGLISH); | ||
public static final boolean IS_WINDOWS = LOWER_OS_NAME.startsWith("windows"); | ||
public static final boolean IS_MAC = LOWER_OS_NAME.startsWith("mac"); | ||
public static final boolean IS_LINUX = LOWER_OS_NAME.startsWith("linux"); | ||
} |