Skip to content

Commit c1c8b50

Browse files
committed
apply current directory patch to binary installer .sh file
1 parent 5da42e0 commit c1c8b50

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

binary_installer/install.sh.in

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ _err_exit $? _err_msg
198198
echo -e "\n***** Updated pip *****\n"
199199

200200
_err_msg="\n----- requirements file copy failed -----\n"
201-
cp binary_installer/py3.10-${OS_NAME}-"${OS_ARCH}"-${CD}-reqs.txt requirements.txt
201+
cp installer/py3.10-${OS_NAME}-"${OS_ARCH}"-${CD}-reqs.txt requirements.txt
202202
_err_exit $? _err_msg
203203

204204
_err_msg="\n----- main pip install failed -----\n"
@@ -213,12 +213,11 @@ _err_exit $? _err_msg
213213

214214
echo -e "\n***** Installed InvokeAI *****\n"
215215

216-
cp binary_installer/invoke.sh.in ./invoke.sh
217-
chmod a+x ./invoke.sh
216+
cp installer/invoke.sh .
218217
echo -e "\n***** Installed invoke launcher script ******\n"
219218

220219
# more cleanup
221-
rm -rf binary_installer/ installer_files/
220+
rm -rf installer/ installer_files/
222221

223222
# preload the models
224223
.venv/bin/python3 scripts/configure_invokeai.py
@@ -229,7 +228,7 @@ deactivate
229228
echo -e "\n***** Finished downloading models *****\n"
230229

231230
echo "All done! Run the command"
232-
echo " \"$scriptdir/invoke.sh\""
231+
echo " $scriptdir/invoke.sh"
233232
echo "to start InvokeAI."
234233
read -p "Press any key to exit..."
235234
exit

0 commit comments

Comments
 (0)