mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-04-29 22:24:32 +02:00
8.21
https://github.com/tonikelope/megabasterd/issues/633 https://github.com/tonikelope/megabasterd/issues/634 https://github.com/tonikelope/megabasterd/issues/632
This commit is contained in:
parent
7f8ba83209
commit
fc03de1d3b
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.tonikelope</groupId>
|
||||
<artifactId>MegaBasterd</artifactId>
|
||||
<version>8.20</version>
|
||||
<version>8.21</version>
|
||||
<packaging>jar</packaging>
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -69,7 +69,7 @@ import javax.swing.UIManager;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "8.20";
|
||||
public static final String VERSION = "8.21";
|
||||
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||
@ -106,20 +106,6 @@ public final class MainPanel {
|
||||
|
||||
public static void main(String args[]) {
|
||||
|
||||
try {
|
||||
|
||||
setupSqliteTables();
|
||||
|
||||
} catch (SQLException ex) {
|
||||
Logger.getLogger(MainPanel.class.getName()).log(SEVERE, null, ex);
|
||||
}
|
||||
|
||||
setNimbusLookAndFeel("yes".equals(DBTools.selectSettingValue("dark_mode")));
|
||||
|
||||
if ("yes".equals(DBTools.selectSettingValue("upload_log"))) {
|
||||
MiscTools.createUploadLogDir();
|
||||
}
|
||||
|
||||
if (args.length > 0) {
|
||||
|
||||
if (args.length > 1) {
|
||||
@ -144,6 +130,20 @@ public final class MainPanel {
|
||||
MEGABASTERD_HOME_DIR = f.getParentFile().getAbsolutePath();
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
setupSqliteTables();
|
||||
|
||||
} catch (SQLException ex) {
|
||||
Logger.getLogger(MainPanel.class.getName()).log(SEVERE, null, ex);
|
||||
}
|
||||
|
||||
setNimbusLookAndFeel("yes".equals(DBTools.selectSettingValue("dark_mode")));
|
||||
|
||||
if ("yes".equals(DBTools.selectSettingValue("upload_log"))) {
|
||||
MiscTools.createUploadLogDir();
|
||||
}
|
||||
|
||||
final MainPanel main_panel = new MainPanel();
|
||||
|
||||
invokeLater(() -> {
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 214 KiB |
Loading…
x
Reference in New Issue
Block a user