Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
(Has all functionality that was initially intended in the plan)
  • Loading branch information
everdro1d committed Dec 22, 2023
1 parent f80ccf3 commit 7b7fb03
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 10 additions & 0 deletions .idea/libraries/3_2.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions src/main/java/MainWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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.");
Expand Down

0 comments on commit 7b7fb03

Please sign in to comment.