Skip to content

Commit

Permalink
Merge pull request #95 from REALSDEALS/REALSDEALS
Browse files Browse the repository at this point in the history
Add: Downloadables Function
  • Loading branch information
REALSDEALS authored Jan 6, 2022
2 parents 68b030f + f8dcc8e commit 1561d64
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 7 deletions.
8 changes: 7 additions & 1 deletion Documentation/changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# Changelog.md - pcHealth

## 06-01-2022
## 06-01-2022 - 07-01-2022

Updated the Project board on GitHub.
This commit is due to these additions, see it as a reminder for me...
Nothing special.

I added a new menu inside the code.
Function number 15 has been added, this function opens a small menu with a small handfull of usefull test programs to run on your system.

This will be updated and upgraded in the future.
There will be a code format update too, so things may change and be not 'that clunky' anymore.

## 03-01-2022

After a small break we continue working on the script.
Expand Down
3 changes: 2 additions & 1 deletion Documentation/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ For now only the version names will be displayed, in the future there might be e

# Current Version(s)

Beta Release - v1.3.6-beta
Beta Release - v1.3.7-beta
Full Release - v1.3.0 (Stable)
Alpha Release - v0.1.1-alpha (PowerShell)

Expand All @@ -25,6 +25,7 @@ Here you can see a overview of the older version.

### Beta Release(s)

- Beta Release - v1.3.6-beta
- Beta Release - v1.3.5-beta
- Beta Release - v1.3.4-beta
- Beta Release - v1.3.3-beta
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@ You can, just run this simple line of code.

When entering this number you get to choose if you want to log off, restart or shutdown your pc.

### Close the Script - Number 15
### Open up a sub-menu with downloadables! - Number 15

Open up a handy dandy menu with direct links to download servers of a small handfull of usefull IT programs!
So you can test your system.

### Close the Script - Number 16

With number 14 you can close the script.

Expand Down
97 changes: 93 additions & 4 deletions Scripts/CMD/pcHealth.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if '%errorlevel%' NEQ '0' (
:--------------------------------------
:: MainCode
@echo off
title pcHealth - Check your PC's Health! //_\\ v1.3.6-beta
title pcHealth - Check your PC's Health! //_\\ v1.3.7-beta
cd /
color A
cls
Expand All @@ -41,7 +41,7 @@ echo.
echo Thanks for downloading and using pcHealth!
echo Please be sure that you are running this Batch file in Administrator mode.
echo Made by REALSDEALS - Licensed under GNU-3 (You are free to use, but not to change or to remove this line.)
echo You are now using version 1.3.6-beta
echo You are now using version 1.3.7-beta
echo.
echo %DATE%, %TIME%
echo.
Expand All @@ -60,7 +60,8 @@ echo Enter number 11 to re-open the CBS.log (AKA DISM.log)
echo Enter number 12 to get your Ninite! Includes Edge, Chrome, VLC and 7Zip.
echo Enter number 13 to see your systems Windows License key.
echo Enter number 14 to shutdown, reboot or log off from your PC/laptop.
echo Enter number 15 to close this batch file.
echo Enter number 15 to enter a menu regarding usefull programs.
echo Enter number 16 to close this batch file.
echo ...........................................................
echo.
SET /P A=Type one of the numbers from the menu above to run the desired function, then press ENTER. Enter:
Expand All @@ -78,7 +79,8 @@ IF %A%==11 GOTO OPENCBSLOG
IF %A%==12 GOTO NINITE
IF %A%==13 GOTO LICENSE
IF %A%==14 GOTO RESHUT
IF %A%==15 GOTO CLOSE
IF %A%==15 GOTO DOWNLOADABLES
IF %A%==16 GOTO CLOSE

:SYSINFO
cls
Expand Down Expand Up @@ -308,5 +310,92 @@ color C
shutdown /s
EXIT /B

:DOWNLOADABLES
cls
color 8
echo.
echo You have now openend a menu to get direct download links to some usefull IT programs!
echo.
echo ...........................................................
echo Enter number 1 to get the latest official version of pcHealth!
echo Enter number 2 to get hardware info.
echo Enter number 3 to get ADW Cleaner.
echo Enter number 4 to get DiskInfo64.
echo Enter number 5 to get DiskMark64.
echo Enter number 6 to get Prime95.
echo Enter number 7 to return to the previous menu.
echo Enter number 8 to close the script.
echo ...........................................................
echo.
SET /P AB=Type one of the numbers above to run the desired function.
IF %AB%==1 GOTO PCHEALTHGETVER
IF %AB%==2 GOTO HARDINFODOWN
IF %AB%==3 GOTO ADWCLEANER
IF %AB%==4 GOTO DISKINFODOWN
IF %AB%==5 GOTO DISKMARKDOWN
IF %AB%==6 GOTO PRIMEDOWN
IF %AB%==7 GOTO MENU
IF %AB%==8 GOTO CLOSE

:PCHEALTHGETVER
cls
color 9
echo.
echo Are you sure that you want to download the newest version of pcHealth?
echo.
SET /P AC=If yes, enter the number 1, if not enter number 2 to return to the menu.
IF %AC%==1 start "" https://github.com/REALSDEALS/pcHealth/archive/refs/heads/main.zip
IF %AC%==2 GOTO MENU

:HARDINFODOWN
cls
color 9
echo.
echo Are you sure that you want to download the newest version of Hardware Info?
echo.
SET /P AD=If yes, enter the number 1, if not enter number 2 to return to the menu.
IF %AD%==1 start "" https://www.hwinfo.com/FossHub
IF %AD%==2 GOTO DOWNLOADABLES

:ADWCLEANER
cls
color 9
echo.
echo Are you sure that you want to download the latest version of ADW Cleaner?
echo.
SET /P AE=If yes enter the number 1 to start the download, enter number 2 to return to the menu.
IF %AE%==1 start "" https://downloads.malwarebytes.com/file/adwcleaner
IF %AE%==2 GOTO MENU

:DISKINFODOWN
cls
color 9
echo.
echo Are you sure that you want to download the latest version of Disk Info?
echo.
SET /P AF=If yes enter the number 1 to start the download, enter the number 2 to return to the menu.
IF %AF%==1 start "" https://osdn.net/frs/redir.php?m=nchc&f=crystaldiskinfo%2F76462%2FCrystalDiskInfo8_13_3.zip
IF %AF%==2 GOTO MENU

:DISKMARKDOWN
cls
color 9
echo.
echo Are you sure that you want to download the latest version of Disk Mark?
echo.
SET /P AF=If yes enter the number 1 to start the download, enter the number 2 to return to the menu.
IF %AF%==1 start "" https://osdn.net/frs/redir.php?m=nchc&f=crystaldiskmark%2F75540%2FCrystalDiskMark8_0_4.zip
IF %AF%==2 GOTO MENU

:PRIMEDOWN
cls
color 9
echo.
echo Are you sure that you want to download the latest version of Prime95?
echo.
SET /P AF=If yes enter the number 1 to start the download, enter the number 2 to return to the menu.
IF %AF%==1 start "" https://www.guru3d.com/files-get/prime95-download,3.html
IF %AF%==2 GOTO MENU

:CLOSE
EXIT /B

0 comments on commit 1561d64

Please sign in to comment.