Skip to content

Commit

Permalink
fix: [#367] issue with showing console on *nix operating systems
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTheAllmighty committed Aug 4, 2019
1 parent 78058e3 commit 1485949
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
- Fix adding multiple mods via drag and drop asking for type every file
- Fix closing add mod file dialog still addding the file
- Add select all to the edit mods dialog
- [#367] fix issue with showing console on *nix operating systems
4 changes: 3 additions & 1 deletion src/main/java/com/atlauncher/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ public static void main(String[] args) {

if (settings.enableConsole()) {
// Show the console if enabled.
console.setVisible(true);
SwingUtilities.invokeLater(() -> {
console.setVisible(true);
});
}

if (settings.enableTrayIcon() && !skipTrayIntegration) {
Expand Down

0 comments on commit 1485949

Please sign in to comment.