Adding updater script
This commit is contained in:
15
update.sh
Normal file
15
update.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Stating Message
|
||||||
|
echo "<!-- UPDATING ---!>"
|
||||||
|
|
||||||
|
# TODO - Add an updater for Stable Diffusion API
|
||||||
|
|
||||||
|
# Update the git Repo
|
||||||
|
git fetch -a -p
|
||||||
|
git pull
|
||||||
|
|
||||||
|
# Install any new libraries
|
||||||
|
npm i
|
||||||
|
|
||||||
|
# Update complete message
|
||||||
|
echo "<!--- UPDATE COMPLETE! ---!>"
|
||||||
Reference in New Issue
Block a user