mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-25 17:55:09 +01:00
Make the new installer work with existing installations (made with the old installer)
This commit is contained in:
parent
5facba4419
commit
2a46f6b225
@ -1,3 +1,10 @@
|
||||
@echo off
|
||||
|
||||
@REM Delete the post-activate hook from the old installer
|
||||
@if exist "installer\etc\conda\activate.d\post_activate.bat" (
|
||||
del "installer\etc\conda\activate.d\post_activate.bat"
|
||||
)
|
||||
|
||||
@call installer\Scripts\activate.bat
|
||||
|
||||
@call conda-unpack
|
||||
@ -5,6 +12,8 @@
|
||||
@call conda --version
|
||||
@call git --version
|
||||
|
||||
@cd installer
|
||||
|
||||
@call scripts\on_env_start.bat
|
||||
|
||||
@pause
|
@ -4,6 +4,8 @@
|
||||
|
||||
set PATH=C:\Windows\System32;%PATH%
|
||||
|
||||
@cd ..
|
||||
|
||||
if exist "scripts\config.bat" (
|
||||
@call scripts\config.bat
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user