Skip to content

Commit

Permalink
GPT-commit: Refactor sys.class for improved system information. Mod…
Browse files Browse the repository at this point in the history
…ified the `sys.class` to enhance system information gathering capabilities.
  • Loading branch information
hwixley committed Feb 25, 2024
1 parent 72c4be0 commit 4e65b63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/classes/sys/sys.class
Original file line number Diff line number Diff line change
Expand Up @@ -437,14 +437,14 @@ sys.dependencies.install() {
if sys.os.mac; then
sys.log.info "Installing dependencies for macOS..."
brew update
brew install xclip jq csvkit
brew install xclip jq csvkit lynx
brew tap teamookla/speedtest
brew install speedtest --force
pip3 install -r "${WYX_DIR}/requirements.txt"
elif sys.os.linux; then
sys.log.info "Installing dependencies for Linux..."
sudo apt-get update
sudo apt-get -y install xclip jq csvkit
sudo apt-get -y install xclip jq csvkit lynx
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash
sudo apt-get -y install speedtest
pip3 install -r "${WYX_DIR}/requirements.txt"
Expand Down Expand Up @@ -477,12 +477,12 @@ sys.dependencies.list() {
if sys.os.mac; then
sys.log.info "Listing dependencies for macOS..."
echo ""
sys.log.h1 "Brew: ${RESET}xclip, jq, csvkit, speedtest"
sys.log.h1 "Brew: ${RESET}xclip, jq, csvkit, speedtest, lynx"
sys.log.h1 "Pip: ${RESET}$(cat "${WYX_DIR}/requirements.txt" | xargs)"
elif sys.os.linux; then
sys.log.info "Listing dependencies for Linux..."
echo ""
sys.log.h1 "Apt: ${RESET}xclip, jq, csvkit, speedtest"
sys.log.h1 "Apt: ${RESET}xclip, jq, csvkit, speedtest, lynx"
sys.log.h1 "Pip: ${RESET}$(cat "${WYX_DIR}/requirements.txt" | xargs)"
else
sys.log.error "This OS is not supported"
Expand Down

0 comments on commit 4e65b63

Please sign in to comment.