这是indexloc提供的服务,不要输入任何密码
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions motds/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ motd:

@echo "" >> motd
@echo "Report issues at https://termux.dev/issues" >> motd
@echo -e "\x1b[1m\x1b[35mTermux needs your help! Donations help fund development and infrastructure import for Termux's continued existence\x1b[0m" >> motd
@echo -e "\x1b[1mConsider donating at \x1b[34mhttps://termux.dev/en/donate\x1b[0m" >> motd
17 changes: 15 additions & 2 deletions motds/motd.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ else
\e[1mWelcome to Termux!\e[0m

\e[1mDocs:\e[0m \e[4mhttps://termux.dev/docs\e[0m
\e[1mDonate:\e[0m \e[4mhttps://termux.dev/donate\e[0m
\e[1mCommunity:\e[0m \e[4mhttps://termux.dev/community\e[0m
"
if [ "$(date +%m)" != "12" ]; then
motd+="\e[1mDonate:\e[0m \e[4mhttps://termux.dev/donate\e[0m
"
fi
motd+="\e[1mCommunity:\e[0m \e[4mhttps://termux.dev/community\e[0m

\e[1mTermux version:\e[0m ${TERMUX_VERSION-Unknown}
"
Expand Down Expand Up @@ -58,4 +62,13 @@ motd+="
${motd_indent}Report issues at \e[4mhttps://termux.dev/issues\e[0m
"

if [ "$(date +%m)" = "12" ]; then

motd+="
\e[1m\e[31mTermux needs your help! Donations help fund development and infrastructure import for Termux's continued existence\e[0m
\e[1mConsider donating at \e[34mhttps://termux.dev/en/donate\e[0m
"

fi

echo -e "$motd"
Loading