mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-01-26 08:59:45 +00:00
Update installer.bat
Fix false positive in cloud storage detection for installer.bat
This commit is contained in:
@@ -63,7 +63,7 @@ set "st_startIn=%~dp0"
|
||||
set "st_comment=SillyTavern"
|
||||
|
||||
REM Check if the script is being run from a cloud storage folder (OneDrive, Google Drive, or Dropbox)
|
||||
echo "%CD%" | findstr /I "OneDrive" > nul
|
||||
echo "%CD%" | findstr /I "\\OneDrive\\" > nul
|
||||
if %errorlevel% equ 0 (
|
||||
echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] Installation in OneDrive folders is not supported!%reset%
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO] Installing the SillyTavern Launcher and SillyTavern in OneDrive can cause issues with dependency installs.
|
||||
@@ -72,8 +72,7 @@ if %errorlevel% equ 0 (
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo "%CD%" | findstr /I "Google Drive" > nul
|
||||
echo "%CD%" | findstr /I "\\Google[ ]Drive\\" > nul
|
||||
if %errorlevel% equ 0 (
|
||||
echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] Installation in Google Drive folders is not supported!%reset%
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO] Installing the SillyTavern Launcher and SillyTavern in Google Drive can cause issues with dependency installs.
|
||||
@@ -82,12 +81,11 @@ if %errorlevel% equ 0 (
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo "%CD%" | findstr /I "Dropbox" > nul
|
||||
echo "%CD%" | findstr /I "\\Dropbox\\" > nul
|
||||
if %errorlevel% equ 0 (
|
||||
echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] Installation in Dropbox folders is not supported!%reset%
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO] Installing the SillyTavern Launcher and SillyTavern in Dropbox can cause issues with dependency installs.
|
||||
echo Not to mention it's bad for privacy and speed because of cloud syncing..%reset%
|
||||
echo Not to mention it's bad for privacy and speed because of cloud syncing.%reset%
|
||||
echo Please move the installer to a different directory and try again.
|
||||
pause
|
||||
exit /b 1
|
||||
|
||||
Reference in New Issue
Block a user