Typo while checking the OS name

This commit is contained in:
cmdr2 2022-10-10 20:02:19 +05:30
parent 1d4a835e4a
commit e9ddef6992
2 changed files with 2 additions and 5 deletions

View File

@ -13,11 +13,10 @@ STABLE_DIFFUSION_REPO_DIR_NAME = 'stable-diffusion'
PROJECT_ENV_DIR_NAME = 'project_env'
START_CMD_FILE_NAME = "Start Stable Diffusion UI.cmd" if platform.system == "Windows" else "start.sh"
DEV_CONSOLE_CMD_FILE_NAME = "Developer Console.cmd" if platform.system == "Windows" else "developer_console.sh"
START_CMD_FILE_NAME = "Start Stable Diffusion UI.cmd" if platform.system() == "Windows" else "start.sh"
DEV_CONSOLE_CMD_FILE_NAME = "Developer Console.cmd" if platform.system() == "Windows" else "developer_console.sh"
CONFIG_FILE_NAME = 'config.json'
# top-level folders
ENV_DIR_NAME = 'env'
MODELS_DIR_NAME = 'models'

View File

@ -1,6 +1,4 @@
import os
import shutil
import platform
from installer import app, helpers