feat blueprint.sh
install.sh
: Adapt to new branding assets
This commit is contained in:
parent
d0db9e938e
commit
08c9217263
2 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ if [[ $1 != "-bash" ]]; then
|
|||
php artisan storage:link &>> "$BLUEPRINT__DEBUG"
|
||||
|
||||
# Copy "Blueprint" extension page logo from assets.
|
||||
cp "$FOLDER/.blueprint/assets/logo.jpg" "$FOLDER/.blueprint/extensions/blueprint/assets/logo.jpg"
|
||||
cp "$FOLDER/.blueprint/assets/Emblem/emblem.jpg" "$FOLDER/.blueprint/extensions/blueprint/assets/logo.jpg"
|
||||
|
||||
# Put application into maintenance.
|
||||
PRINT INPUT "Would you like to put your application into maintenance while Blueprint is installing? (Y/n)"
|
||||
|
|
|
@ -1038,7 +1038,7 @@ InstallExtension() {
|
|||
# use random placeholder icon if extension does not
|
||||
# come with an icon.
|
||||
icnNUM=$(( 1 + RANDOM % 5 ))
|
||||
cp ".blueprint/assets/defaultExtensionLogo$icnNUM.jpg" ".blueprint/extensions/$identifier/assets/icon.$ICON_EXT"
|
||||
cp ".blueprint/assets/Extensions/Defaults/$icnNUM.jpg" ".blueprint/extensions/$identifier/assets/icon.$ICON_EXT"
|
||||
else
|
||||
if [[ $icon == *".svg" ]]; then ICON_EXT='svg'; fi
|
||||
if [[ $icon == *".png" ]]; then ICON_EXT='png'; fi
|
||||
|
|
Loading…
Reference in a new issue