mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
run .bat file in directory potentially containing spaces
- The previous fix for the "install in Windows system directory" error would fail if the path includes directories with spaces in them. This fixes that. - In addition, addressing the same issue in source installer, although not yet reported in wild.
This commit is contained in:
parent
401165ba35
commit
34d6f35408
@ -10,7 +10,8 @@
|
||||
|
||||
@rem This enables a user to install this project without manually installing git or Python
|
||||
|
||||
PUSHD %~dp0
|
||||
@rem change to the script's directory
|
||||
PUSHD "%~dp0"
|
||||
|
||||
set "no_cache_dir=--no-cache-dir"
|
||||
if "%1" == "use-cache" (
|
||||
|
@ -9,6 +9,9 @@
|
||||
|
||||
@rem This enables a user to install this project without manually installing conda and git.
|
||||
|
||||
@rem change to the script's directory
|
||||
PUSHD "%~dp0"
|
||||
|
||||
echo "InvokeAI source installer..."
|
||||
echo ""
|
||||
echo "Some of the installation steps take a long time to run. Please be patient."
|
||||
|
Loading…
Reference in New Issue
Block a user