mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Script to create the installer zips
This commit is contained in:
parent
c49d9c2611
commit
4b27d8821d
@ -1,5 +0,0 @@
|
|||||||
**Important:** These instructions are for the developers of this project, not for users! The users should use the pre-created zip files for installation.
|
|
||||||
|
|
||||||
Just distribute the `install.bat` or `install.sh` file.
|
|
||||||
|
|
||||||
Running that file will download the invokeAI repository into the same folder as the script, and install the required dependencies.
|
|
20
installer/create_installers.sh
Normal file
20
installer/create_installers.sh
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# make the installer zip for linux and mac
|
||||||
|
rm -rf invokeAI
|
||||||
|
mkdir -p invokeAI
|
||||||
|
cp install.sh invokeAI
|
||||||
|
cp readme.txt invokeAI
|
||||||
|
|
||||||
|
zip -r invokeAI-linux.zip invokeAI
|
||||||
|
zip -r invokeAI-mac.zip invokeAI
|
||||||
|
|
||||||
|
# make the installer zip for windows
|
||||||
|
rm -rf invokeAI
|
||||||
|
mkdir -p invokeAI
|
||||||
|
cp install.bat invokeAI
|
||||||
|
cp readme.txt invokeAI
|
||||||
|
|
||||||
|
zip -r invokeAI-windows.zip invokeAI
|
||||||
|
|
||||||
|
echo "The installer zips are ready to be distributed.."
|
11
installer/readme.txt
Normal file
11
installer/readme.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
InvokeAI
|
||||||
|
|
||||||
|
Project homepage: https://github.com/invoke-ai/InvokeAI
|
||||||
|
|
||||||
|
Installation on Windows:
|
||||||
|
Please double-click the 'install.bat' file (while keeping it inside the invokeAI folder).
|
||||||
|
|
||||||
|
Installation on Linux and Mac:
|
||||||
|
Please open the terminal, and run './install.sh' (while keeping it inside the invokeAI folder).
|
||||||
|
|
||||||
|
After installation, please run the 'invoke.bat' file (on Windows) or 'invoke.sh' file (on Linux/Mac) to start InvokeAI.
|
@ -22,7 +22,7 @@ if [ "$0" != "bash" ]; then
|
|||||||
3 ) printf "\nDeveloper Console:\n"; file_name=$(basename "${BASH_SOURCE[0]}"); bash --init-file "$file_name";;
|
3 ) printf "\nDeveloper Console:\n"; file_name=$(basename "${BASH_SOURCE[0]}"); bash --init-file "$file_name";;
|
||||||
* ) echo "Invalid selection"; exit;;
|
* ) echo "Invalid selection"; exit;;
|
||||||
esac
|
esac
|
||||||
else
|
else # in developer console
|
||||||
which python
|
which python
|
||||||
python --version
|
python --version
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user