oobabooga / one-click-installers

Simplified installers for oobabooga/text-generation-webui.
GNU Affero General Public License v3.0
550 stars 186 forks source link

Move special character check to start script #92

Closed jllllll closed 1 year ago

jllllll commented 1 year ago

The check was not working as intended due to it taking place after it actually mattered. Didn't think of that when I added it.

Also ported the print_big_message function to batch for use here and in the future.

Usage syntax with examples:

set "MESSAGEVARIABLE="First line enclosed in quotes." "Second line enclosed in quotes with whole variable contents also enclosed." "Any number of lines supported.""

call :PrintBigMessage %MESSAGEVARIABLE%

call :PrintBigMessage "First line enclosed in quotes." "Second line enclosed in quotes with whole variable contents also enclosed." "Any number of lines supported."

call :PrintBigMessage "First line enclosed in quotes." %MESSAGEVARIABLE% "Can be mixed with variables."

*******************************************************************
* First line enclosed in quotes.
* Second line enclosed in quotes with whole variable contents also enclosed.
* Any number of lines supported.
*******************************************************************