Sygil-Dev / stable-diffusion

GNU Affero General Public License v3.0
1.72k stars 148 forks source link

Added the ability to run WebUI.cmd with command line arguments and have them forward to relaunch #247

Closed DarkVamprism closed 2 years ago

DarkVamprism commented 2 years ago

Any command line arguments passed to WebUI.cmd will be forwarded to relauncher.py, this allows multiple shortcuts to be created with different arguments to be run without editing the relauncher manually.

oc013 commented 2 years ago

lgtm, I'm guessing it works but did you test without an argument as well?

DarkVamprism commented 2 years ago

Yes I did test it, not a whole lot but I tried with commands and without and it both worked, might need more testing because I'm not familiar with python or bash

On Sat, 3 Sept 2022, 6:43 pm oc013, @.***> wrote:

lgtm, I'm guessing it does but did you test without an argument as well?

— Reply to this email directly, view it on GitHub https://github.com/hlky/stable-diffusion/pull/247#issuecomment-1236093713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWFYRGMLJE4XWSUYRJO4K3V4MTW3ANCNFSM6AAAAAAQD2AMXQ . You are receiving this because you authored the thread.Message ID: @.***>

jamesmoore commented 2 years ago

IMO this is a better solution than having booleans that build a command line in relauncher.py