From 7b7fb03c24d475b37a56f0c5809aed1a69956c3c Mon Sep 17 00:00:00 2001 From: everdro1d Date: Fri, 22 Dec 2023 01:05:53 -0700 Subject: [PATCH] Initial commit. (Has all functionality that was initially intended in the plan) --- .idea/libraries/3_2.xml | 10 ++++++++++ src/main/java/MainWorker.java | 8 -------- 2 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 .idea/libraries/3_2.xml diff --git a/.idea/libraries/3_2.xml b/.idea/libraries/3_2.xml new file mode 100644 index 0000000..1b02d29 --- /dev/null +++ b/.idea/libraries/3_2.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/MainWorker.java b/src/main/java/MainWorker.java index 58786c6..5a917a0 100644 --- a/src/main/java/MainWorker.java +++ b/src/main/java/MainWorker.java @@ -37,8 +37,6 @@ public static void main(String[] args) { checkOSCompatability(); getJarPath(); - Icon frameIcon = getApplicationIcon("main/resources/convertIcon.png", 32, 32); - heifConvertPath = jarPath + fileDiv + "heif-convert.exe"; copyBinaryTempFile(); @@ -51,12 +49,6 @@ public static void main(String[] args) { EventQueue.invokeLater(() -> { try { new MainWindow(); - - if (frameIcon != null) { - frame.setIconImage(((ImageIcon) frameIcon).getImage()); - } else { - System.err.println("Failed to set icon."); - } } catch (Exception e) { e.printStackTrace(System.err); System.err.println("Failed to start main window.");