replace README on morph

This commit is contained in:
numzero 2026-07-04 22:45:54 +03:00
parent ff3ec96819
commit f2b904b5f9

View File

@ -53,6 +53,9 @@ git remote remove origin
# remove this script from the project (but keep on disk for now)
git rm --cached init.sh
# replace the README with a stub
echo "# $name" >| README.md
# escape HTML special characters (&, <, and >), but also sed special characters (& again, \, and /)
htmlname=$(echo -n "$name" | sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g; s:[\\/&]:\\&:g')
sed -i "s/PROJECT NAME/$htmlname/" ui/src/main_window.ui