mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-19 19:51:53 +00:00
More documentation.
This commit is contained in:
@@ -20,43 +20,94 @@ import java.io.IOException;
|
||||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
*
|
||||
* Application information
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ApplicationInfo {
|
||||
|
||||
/**
|
||||
* Application name
|
||||
*/
|
||||
public static final String APPLICATION_NAME = "JPEXS Free Flash Decompiler";
|
||||
|
||||
/**
|
||||
* CLI application name
|
||||
*/
|
||||
public static final String CLI_APPLICATION_NAME = "@|blue JPEXS|@ @|green Free|@ @|red Flash Decompiler|@";
|
||||
|
||||
/**
|
||||
* Short application name
|
||||
*/
|
||||
public static final String SHORT_APPLICATION_NAME = "FFDec";
|
||||
|
||||
/**
|
||||
* Vendor
|
||||
*/
|
||||
public static final String VENDOR = "JPEXS";
|
||||
|
||||
/**
|
||||
* Library version
|
||||
*/
|
||||
public static String libraryVersion = "";
|
||||
|
||||
/**
|
||||
* Version
|
||||
*/
|
||||
public static String version = "";
|
||||
|
||||
/**
|
||||
* Revision
|
||||
*/
|
||||
public static String revision = "";
|
||||
|
||||
/**
|
||||
* Version major
|
||||
*/
|
||||
public static int version_major = 4;
|
||||
|
||||
/**
|
||||
* Version minor
|
||||
*/
|
||||
public static int version_minor = 0;
|
||||
|
||||
/**
|
||||
* Version release
|
||||
*/
|
||||
public static int version_release = 0;
|
||||
|
||||
/**
|
||||
* Version build
|
||||
*/
|
||||
public static int version_build = 0;
|
||||
|
||||
/**
|
||||
* Nightly
|
||||
*/
|
||||
public static boolean nightly = false;
|
||||
|
||||
/**
|
||||
* CLI application version name
|
||||
*/
|
||||
public static String cliApplicationVerName;
|
||||
|
||||
/**
|
||||
* Application version name
|
||||
*/
|
||||
public static String applicationVerName;
|
||||
|
||||
/**
|
||||
* Short application version name
|
||||
*/
|
||||
public static String shortApplicationVerName;
|
||||
|
||||
/**
|
||||
* Git hub project
|
||||
*/
|
||||
public static final String GIT_HUB_PROJECT = "jindrapetrik/jpexs-decompiler";
|
||||
|
||||
/**
|
||||
* Project page
|
||||
*/
|
||||
public static final String PROJECT_PAGE = "https://github.com/" + GIT_HUB_PROJECT;
|
||||
|
||||
/**
|
||||
@@ -79,6 +130,9 @@ public class ApplicationInfo {
|
||||
loadLibraryVersion();
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads library version
|
||||
*/
|
||||
private static void loadLibraryVersion() {
|
||||
Properties prop = new Properties();
|
||||
try {
|
||||
@@ -97,6 +151,9 @@ public class ApplicationInfo {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads properties.
|
||||
*/
|
||||
private static void loadProperties() {
|
||||
Properties prop = new Properties();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user