mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix bugs in launcher script installation
- launcher scripts are installed *before* the configure script runs, so that if something goes wrong in the configure script, the user can run invoke.{sh,bat} and get the option to re-run configure - fixed typo in invoke.sh which misspelled name of invokeai-configure
This commit is contained in:
@ -164,12 +164,12 @@ class Installer:
|
|||||||
optional_modules,
|
optional_modules,
|
||||||
find_links,
|
find_links,
|
||||||
)
|
)
|
||||||
# run through the configuration flow
|
|
||||||
self.instance.configure()
|
|
||||||
|
|
||||||
# install the launch/update scripts into the runtime directory
|
# install the launch/update scripts into the runtime directory
|
||||||
self.instance.install_user_scripts()
|
self.instance.install_user_scripts()
|
||||||
|
|
||||||
|
# run through the configuration flow
|
||||||
|
self.instance.configure()
|
||||||
|
|
||||||
class InvokeAiInstance:
|
class InvokeAiInstance:
|
||||||
"""
|
"""
|
||||||
|
@ -59,7 +59,7 @@ if [ "$0" != "bash" ]; then
|
|||||||
bash --init-file "$file_name"
|
bash --init-file "$file_name"
|
||||||
;;
|
;;
|
||||||
6)
|
6)
|
||||||
exec invokeai-config --root ${INVOKEAI_ROOT}
|
exec invokeai-configure --root ${INVOKEAI_ROOT}
|
||||||
;;
|
;;
|
||||||
7)
|
7)
|
||||||
exec invokeai --help
|
exec invokeai --help
|
||||||
|
Reference in New Issue
Block a user