tonikelope 2023-12-13 15:06:05 +01:00
parent 7f8ba83209
commit fc03de1d3b
3 changed files with 16 additions and 16 deletions

View File

@ -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>

View File

@ -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