mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 08:13:22 +01:00
Empty the post-activate hook only if it exists
This commit is contained in:
parent
defabf4324
commit
939dd0b207
@ -1,7 +1,9 @@
|
||||
@echo off
|
||||
|
||||
@REM Delete the post-activate hook from the old installer
|
||||
echo. > installer\etc\conda\activate.d\post_activate.bat
|
||||
if exist "installer\etc\conda\activate.d\post_activate.bat" (
|
||||
echo. > installer\etc\conda\activate.d\post_activate.bat
|
||||
)
|
||||
|
||||
@call installer\Scripts\activate.bat
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user