Skip to content

Commit

Permalink
VerUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
PIRANY1 committed Nov 4, 2023
1 parent fc56909 commit dc0eed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dataspammer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if not defined devtools (goto topppp) else (goto dtd)
:topppp
setlocal enabledelayedexpansion
set "gitver12=v2.3"
set "gitver12=v2.3.1"
@title Starting Up...
echo Checking for Files...
echo Checking for Data...
Expand Down Expand Up @@ -45,7 +45,7 @@ set "api_url=https://api.github.com/repos/%owner%/%repo%/releases/latest"
echo Fetching Git Url....
@ping -n 1 localhost> nul
for /f "usebackq tokens=*" %%i in (`curl -s %api_url% ^| jq -r ".tag_name"`) do (set "latest_version=%%i")
if %latest_version% equ v2.3 (goto UpToDate) else (goto gitverout)
if %latest_version% equ v2.3.1 (goto UpToDate) else (goto gitverout)

:UpToDate
scoop update
Expand Down Expand Up @@ -243,7 +243,7 @@ set "api_url=https://api.github.com/repos/%owner%/%repo%/releases/latest"
echo Fetching Git Url....
@ping -n 1 localhost> nul
for /f "usebackq tokens=*" %%i in (`curl -s %api_url% ^| jq -r ".tag_name"`) do (set "latest_version=%%i")
if %latest_version% equ v2.3 (goto UpToDate) else (goto gitverout)
if %latest_version% equ v2.3.1 (goto UpToDate) else (goto gitverout)

:UpToDate
@ping -n 1 localhost> nul
Expand Down
2 changes: 1 addition & 1 deletion install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if not defined devtools (goto nodev) else (goto dtd)
:nodev
@title Script Installer by PIRANY
set "foldername=DataSpammerbyPIRANY"
set "gitver12=v2.3"
set "gitver12=v2.3.1"
cd %~dp0
color 2
cls
Expand Down

0 comments on commit dc0eed7

Please sign in to comment.