diff --git a/NSIS/sdui.nsi b/NSIS/sdui.nsi index 10a161b9..0a1a8f9d 100644 --- a/NSIS/sdui.nsi +++ b/NSIS/sdui.nsi @@ -157,6 +157,10 @@ Function MediaPackDialog nsDialogs::Show FunctionEnd +Function FinishPageAction +CreateShortCut "$DESKTOP\Easy Diffusion.lnk" "$INSTDIR\Start Stable Diffusion UI.cmd" "" "$INSTDIR\installer_files\cyborg_flower_girl.ico" +FunctionEnd + ;--------------------------------------------------------------------------------------------------------- ; MUI Settings ;--------------------------------------------------------------------------------------------------------- @@ -182,6 +186,11 @@ Page custom MediaPackDialog !insertmacro MUI_PAGE_INSTFILES ; Finish page +!define MUI_FINISHPAGE_SHOWREADME "" +!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED +!define MUI_FINISHPAGE_SHOWREADME_TEXT "Create Desktop Shortcut" +!define MUI_FINISHPAGE_SHOWREADME_FUNCTION FinishPageAction + !define MUI_FINISHPAGE_RUN "$INSTDIR\Start Stable Diffusion UI.cmd" !insertmacro MUI_PAGE_FINISH @@ -208,6 +217,8 @@ Section "MainSection" SEC01 File /r "${EXISTING_INSTALLATION_DIR}\installer_files" File /r "${EXISTING_INSTALLATION_DIR}\profile" File /r "${EXISTING_INSTALLATION_DIR}\sd-ui-files" + SetOutPath "$INSTDIR\installer_files" + File "cyborg_flower_girl.ico" SetOutPath "$INSTDIR\scripts" File "${EXISTING_INSTALLATION_DIR}\scripts\install_status.txt" File "..\scripts\on_env_start.bat" @@ -218,7 +229,7 @@ Section "MainSection" SEC01 CreateDirectory "$INSTDIR\models\realesrgan" CreateDirectory "$INSTDIR\models\vae" CreateDirectory "$SMPROGRAMS\Easy Diffusion" - CreateShortCut "$SMPROGRAMS\Easy Diffusion\Easy Diffusion.lnk" "$INSTDIR\Start Stable Diffusion UI.cmd" + CreateShortCut "$SMPROGRAMS\Easy Diffusion\Easy Diffusion.lnk" "$INSTDIR\Start Stable Diffusion UI.cmd" "" "$INSTDIR\installer_files\cyborg_flower_girl.ico" DetailPrint 'Downloading the Stable Diffusion 1.4 model...' NScurl::http get "https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckpt" "$INSTDIR\models\stable-diffusion\sd-v1-4.ckpt" /CANCEL /INSIST /END diff --git a/README.md b/README.md index 04295233..6dcca139 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Click the download button for your operating system:
## On Windows: @@ -20,7 +21,7 @@ Click the download button for your operating system: **Tip:** On Windows 10, please install at the top level in your drive, e.g. `C:\EasyDiffusion` or `D:\EasyDiffusion`. This will avoid a common problem with Windows 10 (file path length limits). -## On Linux: +## On Linux/Mac: 1. Unzip/extract the folder `stable-diffusion-ui` which should be in your downloads folder, unless you changed your default downloads destination. 2. Open a terminal window, and navigate to the `stable-diffusion-ui` directory. @@ -30,7 +31,7 @@ Run `Easy Diffusion` once the installation finishes. You can also start from you **Tip:** If Windows SmartScreen prevents you from running the program click `More info` and then `Run anyway`. -## On Linux: +## On Linux/Mac: Run `./start.sh` (or `bash start.sh`) in a terminal. The installer will take care of whatever is needed. If you face any problems, you can join the friendly [Discord community](https://discord.com/invite/u9yhsFmEkB) and ask for assistance. diff --git a/media/download buttons.xcf b/media/download buttons.xcf index 7427a46d..048687ed 100644 Binary files a/media/download buttons.xcf and b/media/download buttons.xcf differ diff --git a/media/download-mac.png b/media/download-mac.png new file mode 100644 index 00000000..53b56134 Binary files /dev/null and b/media/download-mac.png differ