mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-20 11:30:56 -08:00
Add files via upload
This commit is contained in:
parent
310b71f669
commit
d61a5aa4f6
1 changed files with 2 additions and 0 deletions
|
|
@ -550,6 +550,8 @@ Requested path was: {f}
|
|||
os.startfile(path)
|
||||
elif platform.system() == "Darwin":
|
||||
sp.Popen(["open", path])
|
||||
elif "microsoft-standard-WSL2" in platform.uname().release:
|
||||
sp.Popen(["wsl-open", path])
|
||||
else:
|
||||
sp.Popen(["xdg-open", path])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue