mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
make invoke.sh executable
This commit is contained in:
parent
fa25a64d37
commit
12b98ba4ec
@ -6,6 +6,8 @@ IFS=$'\n\t'
|
|||||||
echo "Be certain that you're in the 'installer' directory before continuing."
|
echo "Be certain that you're in the 'installer' directory before continuing."
|
||||||
read -p "Press any key to continue, or CTRL-C to exit..."
|
read -p "Press any key to continue, or CTRL-C to exit..."
|
||||||
|
|
||||||
|
VERSION='2.2.3'
|
||||||
|
|
||||||
# make the installer zip for linux and mac
|
# make the installer zip for linux and mac
|
||||||
rm -rf InvokeAI
|
rm -rf InvokeAI
|
||||||
mkdir -p InvokeAI
|
mkdir -p InvokeAI
|
||||||
@ -13,8 +15,8 @@ cp install.sh.in InvokeAI/install.sh
|
|||||||
chmod a+x InvokeAI/install.sh
|
chmod a+x InvokeAI/install.sh
|
||||||
cp readme.txt InvokeAI
|
cp readme.txt InvokeAI
|
||||||
|
|
||||||
zip -r InvokeAI-binary-linux.zip InvokeAI
|
zip -r InvokeAI-binary-$VERSION-linux.zip InvokeAI
|
||||||
zip -r InvokeAI-binary-mac.zip InvokeAI
|
zip -r InvokeAI-binary-$VERSION-mac.zip InvokeAI
|
||||||
|
|
||||||
# make the installer zip for windows
|
# make the installer zip for windows
|
||||||
rm -rf InvokeAI
|
rm -rf InvokeAI
|
||||||
@ -23,7 +25,7 @@ cp install.bat.in InvokeAI/install.bat
|
|||||||
cp readme.txt InvokeAI
|
cp readme.txt InvokeAI
|
||||||
cp WinLongPathsEnabled.reg InvokeAI
|
cp WinLongPathsEnabled.reg InvokeAI
|
||||||
|
|
||||||
zip -r InvokeAI-binary-windows.zip InvokeAI
|
zip -r InvokeAI-binary-$VERSION-windows.zip InvokeAI
|
||||||
|
|
||||||
rm -rf InvokeAI
|
rm -rf InvokeAI
|
||||||
|
|
||||||
|
@ -214,6 +214,7 @@ _err_exit $? _err_msg
|
|||||||
echo -e "\n***** Installed InvokeAI *****\n"
|
echo -e "\n***** Installed InvokeAI *****\n"
|
||||||
|
|
||||||
cp binary_installer/invoke.sh.in ./invoke.sh
|
cp binary_installer/invoke.sh.in ./invoke.sh
|
||||||
|
chmod a+rx ./invoke.sh
|
||||||
echo -e "\n***** Installed invoke launcher script ******\n"
|
echo -e "\n***** Installed invoke launcher script ******\n"
|
||||||
|
|
||||||
# more cleanup
|
# more cleanup
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
|
VERSION='2.2.3'
|
||||||
|
|
||||||
# make the installer zip for linux and mac
|
# make the installer zip for linux and mac
|
||||||
rm -rf invokeAI
|
rm -rf invokeAI
|
||||||
mkdir -p invokeAI
|
mkdir -p invokeAI
|
||||||
@ -9,8 +11,8 @@ cp install.sh.in invokeAI/install.sh
|
|||||||
chmod a+x invokeAI/install.sh
|
chmod a+x invokeAI/install.sh
|
||||||
cp readme.txt invokeAI
|
cp readme.txt invokeAI
|
||||||
|
|
||||||
zip -r invokeAI-src-installer-linux.zip invokeAI
|
zip -r invokeAI-src-installer-$VERSION-linux.zip invokeAI
|
||||||
zip -r invokeAI-src-installer-mac.zip invokeAI
|
zip -r invokeAI-src-installer-$VERSION-mac.zip invokeAI
|
||||||
|
|
||||||
# make the installer zip for windows
|
# make the installer zip for windows
|
||||||
rm -rf invokeAI
|
rm -rf invokeAI
|
||||||
@ -19,7 +21,7 @@ cp install.bat.in invokeAI/install.bat
|
|||||||
cp readme.txt invokeAI
|
cp readme.txt invokeAI
|
||||||
cp WinLongPathsEnabled.reg invokeAI
|
cp WinLongPathsEnabled.reg invokeAI
|
||||||
|
|
||||||
zip -r invokeAI-src-installer-windows.zip invokeAI
|
zip -r invokeAI-src-installer-$VERSION-windows.zip invokeAI
|
||||||
|
|
||||||
rm -rf invokeAI
|
rm -rf invokeAI
|
||||||
echo "The installer zips are ready to be distributed.."
|
echo "The installer zips are ready to be distributed.."
|
||||||
|
@ -123,6 +123,8 @@ then
|
|||||||
else
|
else
|
||||||
ln -sf ./source_installer/invoke.sh.in ./invoke.sh
|
ln -sf ./source_installer/invoke.sh.in ./invoke.sh
|
||||||
ln -sf ./source_installer/update.sh.in ./update.sh
|
ln -sf ./source_installer/update.sh.in ./update.sh
|
||||||
|
chmod a+rx ./source_installer/invoke.sh.in
|
||||||
|
chmod a+rx ./source_installer/update.sh.in
|
||||||
|
|
||||||
conda activate invokeai
|
conda activate invokeai
|
||||||
# configure
|
# configure
|
||||||
|
Loading…
Reference in New Issue
Block a user