dev: enabled debug main menu by default in developer builds (example: test render dialog)

This commit is contained in:
Oleg Agafonov 2023-05-09 00:49:46 +04:00
parent 5c705a92a3
commit bc79b5f5d1
4 changed files with 13 additions and 5 deletions

View file

@ -87,4 +87,8 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
// all fine
return 0;
}
public boolean isDeveloperBuild() {
return this.buildTime.contains(JarVersion.JAR_BUILD_TIME_FROM_CLASSES);
}
}