mirror of
https://github.com/corpnewt/ProperTree.git
synced 2026-08-12 22:31:30 +04:00
More formatting updates
This commit is contained in:
+17
-12
@@ -45,9 +45,9 @@ if "!syspath!" == "" (
|
|||||||
)
|
)
|
||||||
if "!syspath!" == "" (
|
if "!syspath!" == "" (
|
||||||
cls
|
cls
|
||||||
echo ### ###
|
echo ### ###
|
||||||
echo # Warning #
|
echo # Missing Required Files #
|
||||||
echo ### ###
|
echo ### ###
|
||||||
echo.
|
echo.
|
||||||
echo Could not locate cmd.exe, reg.exe, or where.exe
|
echo Could not locate cmd.exe, reg.exe, or where.exe
|
||||||
echo.
|
echo.
|
||||||
@@ -81,6 +81,11 @@ if "!script_name!" == "" (
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
if not exist "!thisDir!\!script_name!" (
|
if not exist "!thisDir!\!script_name!" (
|
||||||
|
cls
|
||||||
|
echo ### ###
|
||||||
|
echo # Target Not Found #
|
||||||
|
echo ### ###
|
||||||
|
echo.
|
||||||
echo Could not find !looking_for!.
|
echo Could not find !looking_for!.
|
||||||
echo Please make sure to run this script from the same directory
|
echo Please make sure to run this script from the same directory
|
||||||
echo as !looking_for!.
|
echo as !looking_for!.
|
||||||
@@ -118,9 +123,9 @@ if !tried! lss 1 (
|
|||||||
)
|
)
|
||||||
) else (
|
) else (
|
||||||
cls
|
cls
|
||||||
echo ### ###
|
echo ### ###
|
||||||
echo # Warning #
|
echo # Python Not Found #
|
||||||
echo ### ###
|
echo ### ###
|
||||||
echo.
|
echo.
|
||||||
REM Couldn't install for whatever reason - give the error message
|
REM Couldn't install for whatever reason - give the error message
|
||||||
echo Python is not installed or not found in your PATH var.
|
echo Python is not installed or not found in your PATH var.
|
||||||
@@ -203,9 +208,9 @@ exit /b 0
|
|||||||
|
|
||||||
:askinstall
|
:askinstall
|
||||||
cls
|
cls
|
||||||
echo ### ###
|
echo ### ###
|
||||||
echo # Python Not Found #
|
echo # Python Not Found #
|
||||||
echo ### ###
|
echo ### ###
|
||||||
echo.
|
echo.
|
||||||
echo Python !targetpy! was not found on the system or in the PATH var.
|
echo Python !targetpy! was not found on the system or in the PATH var.
|
||||||
echo.
|
echo.
|
||||||
@@ -225,9 +230,9 @@ goto askinstall
|
|||||||
REM This will attempt to download and install python
|
REM This will attempt to download and install python
|
||||||
set /a tried=!tried!+1
|
set /a tried=!tried!+1
|
||||||
cls
|
cls
|
||||||
echo ### ###
|
echo ### ###
|
||||||
echo # Installing Python #
|
echo # Downloading Python #
|
||||||
echo ### ###
|
echo ### ###
|
||||||
echo.
|
echo.
|
||||||
set "release=!user_provided!"
|
set "release=!user_provided!"
|
||||||
if "!release!" == "" (
|
if "!release!" == "" (
|
||||||
|
|||||||
Reference in New Issue
Block a user