mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
fixed installer issues
This commit is contained in:
parent
c05c823b73
commit
478ed75a80
@ -4,10 +4,9 @@
|
||||
wsl --list >nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
echo WSL is not installed. Installing...
|
||||
wsl --install -e
|
||||
wsl --set-default-version 2
|
||||
echo Installing Ubuntu 20.04 LTS...
|
||||
wsl --install -d Ubuntu-20.04 -e
|
||||
wsl --install -d Ubuntu-20.04
|
||||
wsl --set-default-version 2
|
||||
) else (
|
||||
echo WSL is already installed.
|
||||
)
|
||||
@ -15,4 +14,5 @@ if %errorlevel% neq 0 (
|
||||
:: Execute the .sh script
|
||||
wsl.exe -d Ubuntu-20.04 ./install_script.sh
|
||||
|
||||
echo Installation and script execution complete!
|
||||
echo Installation and script execution complete!
|
||||
pause
|
18
scripts/wsl/lollms_petals_installer.bat.bak
Normal file
18
scripts/wsl/lollms_petals_installer.bat.bak
Normal file
@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
|
||||
:: Check if WSL is installed
|
||||
wsl --list >nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
echo WSL is not installed. Installing...
|
||||
wsl --install -e
|
||||
wsl --set-default-version 2
|
||||
echo Installing Ubuntu 20.04 LTS...
|
||||
wsl --install -d Ubuntu-20.04 -e
|
||||
) else (
|
||||
echo WSL is already installed.
|
||||
)
|
||||
|
||||
:: Execute the .sh script
|
||||
wsl.exe -d Ubuntu-20.04 ./install_script.sh
|
||||
|
||||
echo Installation and script execution complete!
|
Loading…
Reference in New Issue
Block a user