diff --git a/README.md b/README.md index c5185a4..8e83ece 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Link-Manager v2.3.0 +# Link-Manager v2.3.1 [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/justinvollmer/LinkManager/blob/main/LICENSE) diff --git a/out/artifacts/LinkManager_jar/LinkManager.jar b/out/artifacts/LinkManager_jar/LinkManager.jar index 7925000..66a90be 100644 Binary files a/out/artifacts/LinkManager_jar/LinkManager.jar and b/out/artifacts/LinkManager_jar/LinkManager.jar differ diff --git a/out/production/LinkManager/app/DownloadManager.class b/out/production/LinkManager/app/DownloadManager.class index a0a9778..4e11b52 100644 Binary files a/out/production/LinkManager/app/DownloadManager.class and b/out/production/LinkManager/app/DownloadManager.class differ diff --git a/out/production/LinkManager/app/DownloadManagerDialog.class b/out/production/LinkManager/app/DownloadManagerDialog.class index aa363f3..fc675ad 100644 Binary files a/out/production/LinkManager/app/DownloadManagerDialog.class and b/out/production/LinkManager/app/DownloadManagerDialog.class differ diff --git a/out/production/LinkManager/app/Version.class b/out/production/LinkManager/app/Version.class index 5d1f283..2cae2ed 100644 Binary files a/out/production/LinkManager/app/Version.class and b/out/production/LinkManager/app/Version.class differ diff --git a/src/app/DownloadManager.java b/src/app/DownloadManager.java index 63d88cc..b4ec3f0 100644 --- a/src/app/DownloadManager.java +++ b/src/app/DownloadManager.java @@ -57,7 +57,7 @@ public void download(String linkToMedia, String filename, int imageNumber) throw } InputStream in = httpConn.getInputStream(); - FileOutputStream out = new FileOutputStream(path + filename + imageNumber + "." + filetype); + FileOutputStream out = new FileOutputStream(path + filename + " (" + imageNumber + ")." + filetype); int bytesRead = -1; byte[] buffer = new byte[4096]; @@ -70,7 +70,7 @@ public void download(String linkToMedia, String filename, int imageNumber) throw } else { // Image Download InputStream in = new BufferedInputStream(url.openStream()); - OutputStream out = new BufferedOutputStream(new FileOutputStream(path + filename + imageNumber + "." + filetype)); + OutputStream out = new BufferedOutputStream(new FileOutputStream(path + filename + " (" + imageNumber + ")." + filetype)); for (int i; (i = in.read()) != -1; ) { out.write(i); diff --git a/src/app/DownloadManagerDialog.java b/src/app/DownloadManagerDialog.java index 9d53b27..7f93221 100644 --- a/src/app/DownloadManagerDialog.java +++ b/src/app/DownloadManagerDialog.java @@ -162,7 +162,7 @@ public DownloadManagerDialog(MainWindow mw, JTextArea taDisplayMW) { tfPreviewName.setBackground(Color.white); tfPreviewName.setDisabledTextColor(Color.black); tfPreviewName.setFont(new Font(null, Font.PLAIN, 15)); - tfPreviewName.setText("'CustomName_'" + "ID"); + tfPreviewName.setText("'CustomName'" + " (ID)"); btnApplyNaming = new JButton("Apply name to all"); btnApplyNaming.addActionListener(e -> { if (tfNamingSystem.getText().isEmpty()) { @@ -605,6 +605,7 @@ private void updateTheme() throws Exception { if (theme.equalsIgnoreCase("dark")) { Color darkGray = Color.DARK_GRAY; Color white = Color.WHITE; + tfNamingSystem.setDisabledTextColor(white); List components = Arrays.asList( pnlNorth, lblTitle, pnlCenter, pnlActionBar, scrollPane, table, pnlCenterAction1, lblNamingSystem, tfNamingSystem, pnlCenterAction2, diff --git a/src/app/Version.java b/src/app/Version.java index bc00e3a..b891fd1 100644 --- a/src/app/Version.java +++ b/src/app/Version.java @@ -3,7 +3,7 @@ public class Version { private static int majorVersion = 2; private static int minorVersion = 3; - private static int patchVersion = 0; + private static int patchVersion = 1; public static String getSoftwareVersion() { return "v" + majorVersion + "." + minorVersion + "." + patchVersion;