Optimize performance under linux systems
This commit is contained in:
parent
bb3af349a0
commit
f5442faf3d
78
pom.xml
78
pom.xml
|
@ -134,47 +134,47 @@
|
||||||
<generateInstaller>true</generateInstaller>
|
<generateInstaller>true</generateInstaller>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<!-- <execution>-->
|
||||||
<id>bundling-for-windows</id>
|
<!-- <id>bundling-for-windows</id>-->
|
||||||
<phase>package</phase>
|
<!-- <phase>package</phase>-->
|
||||||
<goals>
|
<!-- <goals>-->
|
||||||
<goal>package</goal>
|
<!-- <goal>package</goal>-->
|
||||||
</goals>
|
<!-- </goals>-->
|
||||||
<configuration>
|
<!-- <configuration>-->
|
||||||
<platform>windows</platform>
|
<!-- <platform>windows</platform>-->
|
||||||
<createZipball>true</createZipball>
|
<!-- <createZipball>true</createZipball>-->
|
||||||
<!-- <administratorRequired>true</administratorRequired>-->
|
<!-- <!– <administratorRequired>true</administratorRequired>–>-->
|
||||||
<winConfig>
|
<!-- <winConfig>-->
|
||||||
|
|
||||||
<!-- general properties -->
|
<!-- <!– general properties –>-->
|
||||||
<generateSetup>true</generateSetup>
|
<!-- <generateSetup>true</generateSetup>-->
|
||||||
<generateMsi>true</generateMsi>
|
<!-- <generateMsi>true</generateMsi>-->
|
||||||
<generateMsm>true</generateMsm>
|
<!-- <generateMsm>true</generateMsm>-->
|
||||||
|
|
||||||
<!-- setup generation properties -->
|
<!-- <!– setup generation properties –>-->
|
||||||
<setupMode>installForAllUsers</setupMode>
|
<!-- <setupMode>installForAllUsers</setupMode>-->
|
||||||
<createDesktopIconTask>true</createDesktopIconTask>
|
<!-- <createDesktopIconTask>true</createDesktopIconTask>-->
|
||||||
<disableDirPage>false</disableDirPage>
|
<!-- <disableDirPage>false</disableDirPage>-->
|
||||||
<disableFinishedPage>false</disableFinishedPage>
|
<!-- <disableFinishedPage>false</disableFinishedPage>-->
|
||||||
<setupLanguages>
|
<!-- <setupLanguages>-->
|
||||||
<english>compiler:Default.isl</english>
|
<!-- <english>compiler:Default.isl</english>-->
|
||||||
<!-- <spanish>compiler:Languages\Chinese.isl</spanish>-->
|
<!-- <!– <spanish>compiler:Languages\Chinese.isl</spanish>–>-->
|
||||||
</setupLanguages>
|
<!-- </setupLanguages>-->
|
||||||
</winConfig>
|
<!-- </winConfig>-->
|
||||||
</configuration>
|
<!-- </configuration>-->
|
||||||
</execution>
|
<!-- </execution>-->
|
||||||
<!-- <execution>-->
|
<execution>
|
||||||
<!-- <id>bundling-for-linux</id>-->
|
<id>bundling-for-linux</id>
|
||||||
<!-- <phase>package</phase>-->
|
<phase>package</phase>
|
||||||
<!-- <goals>-->
|
<goals>
|
||||||
<!-- <goal>package</goal>-->
|
<goal>package</goal>
|
||||||
<!-- </goals>-->
|
</goals>
|
||||||
<!-- <configuration>-->
|
<configuration>
|
||||||
<!-- <platform>linux</platform>-->
|
<platform>linux</platform>
|
||||||
<!-- <createTarball>true</createTarball>-->
|
<createTarball>true</createTarball>
|
||||||
<!-- <jdkPath>X:\\path\to\linux\jdk</jdkPath>-->
|
<!-- <jdkPath>X:\\path\to\linux\jdk</jdkPath>-->
|
||||||
<!-- </configuration>-->
|
</configuration>
|
||||||
<!-- </execution>-->
|
</execution>
|
||||||
<!-- <execution>-->
|
<!-- <execution>-->
|
||||||
<!-- <id>bundling-for-mac</id>-->
|
<!-- <id>bundling-for-mac</id>-->
|
||||||
<!-- <phase>package</phase>-->
|
<!-- <phase>package</phase>-->
|
||||||
|
|
|
@ -85,7 +85,7 @@ public class Init {
|
||||||
* init look and feel
|
* init look and feel
|
||||||
*/
|
*/
|
||||||
public static void initTheme() {
|
public static void initTheme() {
|
||||||
if (SystemUtil.isMacM1() || SystemUtil.isLinuxOs()) {
|
if (SystemUtil.isMacM1()) {
|
||||||
try {
|
try {
|
||||||
UIManager.setLookAndFeel("com.formdev.flatlaf.FlatDarculaLaf");
|
UIManager.setLookAndFeel("com.formdev.flatlaf.FlatDarculaLaf");
|
||||||
logger.warn("FlatDarculaLaf theme set.");
|
logger.warn("FlatDarculaLaf theme set.");
|
||||||
|
|
Loading…
Reference in New Issue