From 3a6780bd50bba3931b2f0dd31918df63ee107bfd Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 24 Dec 2022 13:56:05 +0530 Subject: [PATCH] Copy check_modules.py the first time an existing user runs the new version --- scripts/on_sd_start.bat | 1 + scripts/on_sd_start.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 55b8e377..b086485b 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -5,6 +5,7 @@ @copy sd-ui-files\scripts\on_env_start.bat scripts\ /Y @copy sd-ui-files\scripts\bootstrap.bat scripts\ /Y +@copy sd-ui-files\scripts\check_modules.py scripts\ /Y if exist "%cd%\profile" ( set USERPROFILE=%cd%\profile diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index 53f73277..cc625ff6 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -4,6 +4,7 @@ source ./scripts/functions.sh cp sd-ui-files/scripts/on_env_start.sh scripts/ cp sd-ui-files/scripts/bootstrap.sh scripts/ +cp sd-ui-files/scripts/check_modules.py scripts/ # activate the installer env CONDA_BASEPATH=$(conda info --base)