fix: missing python-poetry-core make Omarchy install fail (#862)

* fix: missing python-poetry-core

* added migration

* Flesh out migration to fix all tte issues

* Turn TTE back on

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Shigeto Kumagai 2025-08-18 19:39:46 +09:00 committed by GitHub
parent ce5178c285
commit ccf6afc36c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 4 deletions

View File

@ -17,13 +17,13 @@ trap catch_errors ERR
show_logo() {
clear
# tte -i ~/.local/share/omarchy/logo.txt --frame-rate ${2:-120} ${1:-expand}
tte -i ~/.local/share/omarchy/logo.txt --frame-rate ${2:-120} ${1:-expand}
cat <~/.local/share/omarchy/logo.txt
echo
}
show_subtext() {
echo "$1" # | tte --frame-rate ${3:-640} ${2:-wipe}
echo "$1" | tte --frame-rate ${3:-640} ${2:-wipe}
echo
}
@ -31,7 +31,7 @@ show_subtext() {
source $OMARCHY_INSTALL/preflight/gum.sh
source $OMARCHY_INSTALL/preflight/guard.sh
source $OMARCHY_INSTALL/preflight/aur.sh
# source $OMARCHY_INSTALL/preflight/tte.sh
source $OMARCHY_INSTALL/preflight/tte.sh
source $OMARCHY_INSTALL/preflight/migrations.sh
# Configuration

View File

@ -1,3 +1,3 @@
#!/bin/bash
yay -S --noconfirm --needed python-terminaltexteffects
yay -S --noconfirm --needed python-poetry-core python-terminaltexteffects

9
migrations/1755455095.sh Normal file
View File

@ -0,0 +1,9 @@
echo "Ensure TTE and dependencies are installed"
if ! yay -Q python-poetry-core &>/dev/null; then
yay -S --noconfirm python-poetry-core
fi
if ! yay -Q python-terminaltexteffects &>/dev/null; then
yay -S --noconfirm python-terminaltexteffects
fi