Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
richwrightnyc committed Nov 16, 2021
1 parent f097a15 commit e815505
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
17 changes: 6 additions & 11 deletions diagv2.2.sh → DiagnosticTool.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash

# Diagnostic Tool v2.2 - Rich Wright (HudsonOnHere)
# Diagnostic Tool v2.2.1 - Rich Wright (HudsonOnHere)
# This program is provided as is, with no waranty or guarantee of any kind.
# It does not perform any destructive actions,
# but nonetheless always remember to follow best practices.
Expand All @@ -15,7 +15,7 @@ function PRODUCTDESCRIPTION {


local description=$(
./.Resources/warrantylookup-master/bin/swiftMacWarranty \
/Volumes/DiagnosticTool/.Resources/warrantylookup-master/bin/swiftMacWarranty \
| grep "PROD_DESCR:" \
| awk '/PROD_DESCR/ {print substr($0, index($0,$2))}'
)
Expand Down Expand Up @@ -380,7 +380,6 @@ function MACPROGRAPHICSINFO(){




# new version
if [ "$metal" = "Supported," ]

Expand Down Expand Up @@ -419,10 +418,6 @@ function MACPROGRAPHICSINFO(){







# displays data
local dispType=$(
system_profiler SPDisplaysDataType \
Expand Down Expand Up @@ -1230,7 +1225,7 @@ function USERDIRECTORYUSAGEINFO(){
# contains instructions for running a malware scan in the background
function MALWARESCAN {

./.Resources/DetectX\ Swift.app/Contents/MacOS/DetectX\ Swift search > /tmp/DiagnosticTool/malwarescan.txt &
/Volumes/DiagnosticTool/.Resources/DetectX\ Swift.app/Contents/MacOS/DetectX\ Swift search > /tmp/DiagnosticTool/malwarescan.txt &

echo $! > /tmp/DiagnosticTool/detectxpid.txt

Expand Down Expand Up @@ -1268,7 +1263,7 @@ function SOUNDTEST {

osascript -e 'set volume output volume 100' &> /dev/null

afplay ./.Resources/audiotest.m4a &
afplay /Volumes/DiagnosticTool/.Resources/audiotest.m4a &

}

Expand All @@ -1288,7 +1283,7 @@ function DRIVEDX {

osascript -e 'tell app "Terminal" to display notification "Opening DriveDx....." with title "Diagnostic Tool"'

./.Resources/DriveDx.app/Contents/MacOS/DriveDx &
/Volumes/DiagnosticTool/.Resources/DriveDx.app/Contents/MacOS/DriveDx &

sleep 2;

Expand Down Expand Up @@ -1725,7 +1720,7 @@ function MAIN {


# prompts user and runs sound test in background
# SOUNDTEST &
SOUNDTEST &



Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change-log:

# v2.2.1 - 11/15/21
additions
- added options (to be expanded in future versions)
- first release


# v2.2 - 6/15/21
bug fixes - big sur
Expand Down

0 comments on commit e815505

Please sign in to comment.