mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
1b743f7d9b
- Source installer provides more context for what it is doing, and sends user to help/troubleshooting pages when something goes wrong. - install.sh and install.bat are renamed to install.sh.in and install.bat.in to discourage users from running them from within the - Documentation updated
26 lines
609 B
Bash
Executable File
26 lines
609 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
# make the installer zip for linux and mac
|
|
rm -rf invokeAI
|
|
mkdir -p invokeAI
|
|
cp install.sh.in invokeAI/install.sh
|
|
chmod a+x invokeAI/install.sh
|
|
cp readme.txt invokeAI
|
|
|
|
zip -r invokeAI-src-installer-linux.zip invokeAI
|
|
zip -r invokeAI-src-installer-mac.zip invokeAI
|
|
|
|
# make the installer zip for windows
|
|
rm -rf invokeAI
|
|
mkdir -p invokeAI
|
|
cp install.bat.in invokeAI/install.bat
|
|
cp readme.txt invokeAI
|
|
cp WinLongPathsEnabled.reg invokeAI
|
|
|
|
zip -r invokeAI-src-installer-windows.zip invokeAI
|
|
|
|
rm -rf invokeAI
|
|
echo "The installer zips are ready to be distributed.."
|