Skip to content

Commit

Permalink
8.21
Browse files Browse the repository at this point in the history
  • Loading branch information
tonikelope committed Dec 13, 2023
1 parent 7f8ba83 commit fc03de1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
30 changes: 15 additions & 15 deletions src/main/java/com/tonikelope/megabasterd/MainPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
*/
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;
Expand Down Expand Up @@ -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) {
Expand All @@ -144,6 +130,20 @@ public static void main(String args[]) {
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(() -> {
Expand Down
Binary file modified src/main/resources/images/mbasterd_screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fc03de1

Please sign in to comment.