Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
Release v2.3.1
Browse files Browse the repository at this point in the history
Experimental
  • Loading branch information
justinvollmer committed Apr 10, 2023
2 parents e16f481 + b95c802 commit 9ffdf69
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
Binary file modified out/artifacts/LinkManager_jar/LinkManager.jar
Binary file not shown.
Binary file modified out/production/LinkManager/app/DownloadManager.class
Binary file not shown.
Binary file modified out/production/LinkManager/app/DownloadManagerDialog.class
Binary file not shown.
Binary file modified out/production/LinkManager/app/Version.class
Binary file not shown.
4 changes: 2 additions & 2 deletions src/app/DownloadManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion src/app/DownloadManagerDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down Expand Up @@ -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<Component> components = Arrays.asList(
pnlNorth, lblTitle, pnlCenter, pnlActionBar, scrollPane, table,
pnlCenterAction1, lblNamingSystem, tfNamingSystem, pnlCenterAction2,
Expand Down
2 changes: 1 addition & 1 deletion src/app/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9ffdf69

Please sign in to comment.