install4j:如何在运行时获取当前正在执行的启动器的编译日期/时间戳?
install4j: How can I get the compile date / timestamp of the currently executing launcher at runtime?
与类似的问题。
可以查询sys.timestamp
编译器变量:
import com.install4j.api.launcher.Variables.Variables;
try {
String version = Variables.getCompilerVariable("sys.timestamp");
} catch (IOException e) {
// TODO not running in installation
}
与
可以查询sys.timestamp
编译器变量:
import com.install4j.api.launcher.Variables.Variables;
try {
String version = Variables.getCompilerVariable("sys.timestamp");
} catch (IOException e) {
// TODO not running in installation
}