From 60bcf89000f56aa8e44ff81270407987761c419e Mon Sep 17 00:00:00 2001 From: Saptarshi Sarkar Date: Wed, 2 Aug 2023 23:25:03 +0530 Subject: [PATCH] refs: Replaced all 'CLIString' occurences with 'CLI' --- .github/workflows/build.yml | 6 +++--- pomNEW.xml | 6 +++--- src/main/java/Backend/CopyYtDlp.java | 3 ++- src/main/java/Backend/ProgressBarThread.java | 6 +++--- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93e728191..4fc326300 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,8 +46,8 @@ jobs: cache: maven - name: Build with Maven for ${{ matrix.os }} run: mvn compile - - name: Package Drifty CLIString for ${{ matrix.os }} with JavaPackager Maven plugin - run: mvn javapackager:package@bundling-Drifty-CLIString-for-${{ matrix.os }} + - name: Package Drifty CLI for ${{ matrix.os }} with JavaPackager Maven plugin + run: mvn javapackager:package@bundling-Drifty-CLI-for-${{ matrix.os }} - name: Package Drifty GUI for ${{ matrix.os }} with JavaPackager Maven plugin run: mvn javapackager:package@bundling-Drifty-GUI-for-${{ matrix.os }} - name: Tar build files # To prevent file permission loss @@ -63,7 +63,7 @@ jobs: needs: package-Drifty steps: - uses: actions/checkout@v3 - - name: Get Drifty version from .version file + - name: Get Drifty version from version.json file run: echo "VERSION=$(jq .version version.json | sed -r 's/"//g')" >> $GITHUB_ENV - name: Set Drifty version in pom.xml run: mvn versions:set -DnewVersion=$VERSION diff --git a/pomNEW.xml b/pomNEW.xml index 1bad31d5a..92a97cb19 100644 --- a/pomNEW.xml +++ b/pomNEW.xml @@ -193,7 +193,7 @@ - + bundling-Drifty-CLI-for-windows-latest package @@ -211,7 +211,7 @@ - + bundling-Drifty-CLI-for-ubuntu-latest package @@ -229,7 +229,7 @@ - + bundling-Drifty-CLI-for-macos-latest package diff --git a/src/main/java/Backend/CopyYtDlp.java b/src/main/java/Backend/CopyYtDlp.java index d3acfa200..29a018ca6 100644 --- a/src/main/java/Backend/CopyYtDlp.java +++ b/src/main/java/Backend/CopyYtDlp.java @@ -17,9 +17,10 @@ public class CopyYtDlp { /** - * This is the message broker service instance which sends messages to the CLIString or GUI. + * This is the message broker service instance that sends messages to the CLI or GUI. */ static MessageBroker messageBroker = Drifty.getMessageBrokerInstance(); + /** * This method copies the yt-dlp (the program used for downloading YouTube videos) to the temporary folder of the Operating System * and sets it as executable. diff --git a/src/main/java/Backend/ProgressBarThread.java b/src/main/java/Backend/ProgressBarThread.java index e9e6e98c3..ba58253fc 100644 --- a/src/main/java/Backend/ProgressBarThread.java +++ b/src/main/java/Backend/ProgressBarThread.java @@ -14,11 +14,11 @@ import static Utils.DriftyConstants.*; /** - * This is the class responsible for showing the progress bar in the CLIString (Command Line Interface) and enables progress bar values to be updated in the GUI (Graphical User Interface). + * This is the class responsible for showing the progress bar in the CLI (Command Line Interface) and enables progress bar values to be updated in the GUI (Graphical User Interface). */ public class ProgressBarThread extends Thread { /** - * This is the message broker service instance which sends messages to the CLIString or GUI. + * This is the message broker service instance which sends messages to the CLI or GUI. */ private final static MessageBroker messageBroker = Drifty.getMessageBrokerInstance(); /** @@ -143,7 +143,7 @@ public void setDownloading(boolean downloading) { } /** - * This method generates a progress bar for the CLIString (Command Line Interface) version of Drifty. + * This method generates a progress bar for the CLI (Command Line Interface) version of Drifty. * @param spinner icon of the spin in the progress bar. * @return String object containing the progress bar. */