Commit Graph

14 Commits

Author SHA1 Message Date
Ruslan Sheptolut
468d468fbb
Don't ask about restoring stash if nothing was stashed (#1533)
# Description

Minor quality of life update.

Recently launching the webui.bat became a bit more annoying, as it
always asks about restoring changes, even if I have none, and then it
needs another interaction for no reason (pause>nul).

This change makes sure the interaction is only needed when there were
changes stashed, and removes the second pause.

Yesterday I double clicked the shortcut to start the Stable Horde worker
overnight, and even noticed the "Y/N" prompt, but went to bed not
realizing it also does the (pause>nul) after that... No reason to be
this intrusive.

Closes: #1532

# Checklist:

- [X] I have changed the base branch to `dev`
- [X] I have performed a self-review of my own code
- [X] I have commented my code in hard-to-understand areas
- [X] I have made corresponding changes to the documentation
2022-10-17 13:01:17 +03:00
hlky
4a15702fe9
License header 2022-09-26 14:02:48 +01:00
hlky
64dbc0f39b
environment update from .cmd 2022-09-16 11:12:15 +01:00
Brian Semrau
e2b0c0f7a9
Update conda environment on startup always (#1171)
* Update environment on startup always

* Message to explicitly state no environment.yaml update required

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-09-16 08:35:53 +01:00
Thomas Mello
2afa61708d
chore: add breaks to cmds for readability (#1134) 2022-09-15 00:34:15 +03:00
Brian Semrau
b76e14ea3c
Add a separate update script instead of git pull on startup (#1106) 2022-09-14 19:43:32 +03:00
Syahmi Azhar
93d53f9c32
fix: launcher batch file fix #920, fix #605
- Allow reading environment.yaml file in either LF or CRLF
- Only update environment if environment.yaml changes
- Remove custom_conda_path to discourage changing source file
- Fix unable to launch webui due to frontend module missing (#605)
2022-09-13 12:13:23 +03:00
Matt Soucy
4f7ea60a2e
Use the webui script directories as PWD (#946) 2022-09-12 11:41:47 +03:00
ZeroCool940711
a3ae2d4a94 Changed the cmd script to use the dark theme by default when launching the streamlit UI. 2022-09-11 22:49:39 -07:00
Hafiidz
11af1d9338 Urgent Fix to PR:860 2022-09-09 19:07:35 +08:00
Thomas Mello
606aea2866
chore: update maintenance scripts and docs (#891)
* automate conda_env_name as per name in yaml

* Embed installation links directly in README.md

Include links to Windows, Linux, and Google Colab installations.

* Fix conda update in webui.sh for pip bug

* Add info about new PRs

Co-authored-by: Hafiidz <3688500+Hafiidz@users.noreply.github.com>
Co-authored-by: Tom Pham <54967380+TomPham97@users.noreply.github.com>
Co-authored-by: GRMrGecko <grmrgecko@gmail.com>
2022-09-09 13:09:13 +03:00
ZeroCool940711
70e4fa1c47 Added "git pull" and "git stash" to the commands run by the cmd scripts when launching the UI, this should make it so people who use it can automatically update the code from the repo and be up to date without manually using those commands everytime. 2022-09-07 19:21:34 -07:00
ZeroCool940711
40faf5cee3 Removed some unnecessary lines from the the webui_streamlit.cmd file. 2022-09-06 22:10:36 -07:00
ZeroCool940711
fd9ff5d2d4 Added .cmd file for easy running and updating the streamlit version of the UI. 2022-09-06 21:54:16 -07:00