Skip to content

Commit

Permalink
refs: Replaced all 'CLIString' occurences with 'CLI'
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptarshiSarkar12 committed Aug 2, 2023
1 parent 3ccaea7 commit 60bcf89
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions pomNEW.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
</additionalResources>
</configuration>
</execution>
<!--Windows CLIString-->
<!--Windows CLI-->
<execution>
<id>bundling-Drifty-CLI-for-windows-latest</id>
<phase>package</phase>
Expand All @@ -211,7 +211,7 @@
</additionalResources>
</configuration>
</execution>
<!--Ubuntu CLIString-->
<!--Ubuntu CLI-->
<execution>
<id>bundling-Drifty-CLI-for-ubuntu-latest</id>
<phase>package</phase>
Expand All @@ -229,7 +229,7 @@
</additionalResources>
</configuration>
</execution>
<!--MacOS CLIString-->
<!--MacOS CLI-->
<execution>
<id>bundling-Drifty-CLI-for-macos-latest</id>
<phase>package</phase>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/Backend/CopyYtDlp.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/Backend/ProgressBarThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
/**
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit 60bcf89

Please sign in to comment.