mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-01-26 17:09:44 +00:00
Don't touch package-lock
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
cd /d "%st_install_path%"
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Removing node_modules folder...
|
||||
rmdir /s /q "node_modules"
|
||||
del package-lock.json
|
||||
call npm cache clean --force
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% node_modules successfully removed.
|
||||
pause
|
||||
|
||||
@@ -1145,7 +1145,6 @@ editor() {
|
||||
remove_node_modules() {
|
||||
log_message "INFO" "Removing node_modules folder..."
|
||||
cd "$(dirname "$0")./SillyTavern"
|
||||
rm -rf node_modules package-lock.json
|
||||
npm cache clean --force
|
||||
log_message "INFO" "node_modules successfully removed."
|
||||
read -p "Press Enter to continue..."
|
||||
|
||||
Reference in New Issue
Block a user