diff --git a/Drifty.xml b/Drifty.xml
index fb9ef54f5..eae1d47ba 100644
--- a/Drifty.xml
+++ b/Drifty.xml
@@ -24,12 +24,12 @@
64/32
- 1.2.0.0
- 1.1.0.0
+ 1.2.1.0
+ 1.2.0.0
Drifty is an open-source interactive File Downloader system built with java.
Copyright © 2022 - 32 Saptarshi Sarkar
- 1.2.0.0
- 1.1.0.0
+ 1.2.1.0
+ 1.2.0.0
Drifty
Drifty CLI
diff --git a/Drifty_CLI.exe b/Drifty_CLI.exe
index 9d34040b4..ecc8a5625 100644
Binary files a/Drifty_CLI.exe and b/Drifty_CLI.exe differ
diff --git a/out/artifacts/Drifty_CLI_jar/Drifty.jar b/out/artifacts/Drifty_CLI_jar/Drifty.jar
index 153a1800f..0251fa226 100644
Binary files a/out/artifacts/Drifty_CLI_jar/Drifty.jar and b/out/artifacts/Drifty_CLI_jar/Drifty.jar differ
diff --git a/out/production/Drifty/Drifty_CLI.class b/out/production/Drifty/Drifty_CLI.class
index 6b74af384..64a31e129 100644
Binary files a/out/production/Drifty/Drifty_CLI.class and b/out/production/Drifty/Drifty_CLI.class differ
diff --git a/out/production/Drifty/FileDownloader.class b/out/production/Drifty/FileDownloader.class
index 551d884f6..3c9968bde 100644
Binary files a/out/production/Drifty/FileDownloader.class and b/out/production/Drifty/FileDownloader.class differ
diff --git a/src/Drifty_CLI.java b/src/Drifty_CLI.java
index efc14b274..e94ce6d3d 100644
--- a/src/Drifty_CLI.java
+++ b/src/Drifty_CLI.java
@@ -22,9 +22,7 @@ public class Drifty_CLI {
*/
public static void main(String[] args) {
logger.log("INFO", "Application Started !");
- if (!flag) {
- printBanner();
- }
+ initialPrintBanner();
flag = true;
if (args.length > 0){
String URL = args[0];
@@ -240,7 +238,6 @@ private static void help(){
* This function prints the banner of the application in the console.
*/
private static void printBanner(){
- System.out.println("Initializing Drifty ...");
System.out.print("\033[H\033[2J");
System.out.println(ANSI_PURPLE+"===================================================================="+ANSI_RESET);
System.out.println(ANSI_CYAN+" _____ _____ _____ ______ _______ __ __"+ANSI_RESET);
@@ -251,4 +248,15 @@ private static void printBanner(){
System.out.println(ANSI_CYAN+" |_____/ |_| \\_\\|_____||_| |_| |_| "+ANSI_RESET);
System.out.println(ANSI_PURPLE+"===================================================================="+ANSI_RESET);
}
+
+ private static void initialPrintBanner(){
+ System.out.println("====================================================================");
+ System.out.println(" _____ _____ _____ ______ _______ __ __");
+ System.out.println(" | __ \\ | __ \\ |_ _|| ____||__ __|\\ \\ / /");
+ System.out.println(" | | | || |__) | | | | |__ | | \\ \\_/ /");
+ System.out.println(" | | | || _ / | | | __| | | \\ / ");
+ System.out.println(" | |__| || | \\ \\ _| |_ | | | | | | ");
+ System.out.println(" |_____/ |_| \\_\\|_____||_| |_| |_| ");
+ System.out.println("====================================================================");
+ }
}
diff --git a/src/FileDownloader.java b/src/FileDownloader.java
index 6dd44e66a..6b80dd4c7 100644
--- a/src/FileDownloader.java
+++ b/src/FileDownloader.java
@@ -65,10 +65,10 @@ public void run() {
yt_dlp.waitFor();
int exitValueOfYt_Dlp = yt_dlp.exitValue();
if (exitValueOfYt_Dlp == 0){
- System.out.println("\nSuccessfully downloaded the file!");
+ System.out.println("Successfully downloaded the file!");
Drifty_CLI.logger.log("INFO", "Successfully downloaded the file!");
} else if (exitValueOfYt_Dlp == 1) {
- System.out.println("\nFailed to download the file!");
+ System.out.println("Failed to download the file!");
Drifty_CLI.logger.log("INFO", "Failed to download the file!");
}