forked from extern/easydiffusion
Project root check in dev script
This commit is contained in:
parent
0e3766838f
commit
a3e5931fd6
@ -8,7 +8,7 @@ import shutil
|
||||
|
||||
config_path = os.path.join('config.json')
|
||||
|
||||
if not os.path.exists('installer') or not os.path.exists('ui') or not os.path.exists('engine'):
|
||||
if not os.path.exists('LICENSE'):
|
||||
print('Error: This script needs to be run from the root of the stable-diffusion-ui folder! Please cd to the correct folder, and run this again.')
|
||||
exit(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user