parent
ecbc5ceed3
commit
db69285ec1
6 changed files with 10 additions and 8 deletions
|
@ -4,7 +4,7 @@ from . import AsciiArt
|
||||||
debian = AsciiArt(match=r'''"Debian"*''', color='1 7 3', ascii=r"""
|
debian = AsciiArt(match=r'''"Debian"*''', color='1 7 3', ascii=r"""
|
||||||
${c2} _,met$$$$$gg.
|
${c2} _,met$$$$$gg.
|
||||||
,g$$$$$$$$$$$$$$$P.
|
,g$$$$$$$$$$$$$$$P.
|
||||||
,g$$P" \"""Y$$.".
|
,g$$P" "\""Y$$.".
|
||||||
,$$P' `$$$.
|
,$$P' `$$$.
|
||||||
',$$P ,ggs. `$$b:
|
',$$P ,ggs. `$$b:
|
||||||
`d$$' ,$P"' ${c1}.${c2} $$$
|
`d$$' ,$P"' ${c1}.${c2} $$$
|
||||||
|
@ -18,6 +18,6 @@ ${c2} `Y$$
|
||||||
`$$b.
|
`$$b.
|
||||||
`Y$$b.
|
`Y$$b.
|
||||||
`"Y$b._
|
`"Y$b._
|
||||||
`\"""
|
`"\""
|
||||||
""")
|
""")
|
||||||
|
|
|
@ -15,6 +15,6 @@ ${c3} MMMM${c4} .cOMMMMM|/MMMMM/`
|
||||||
MM${c4}MMMMMMM/`:MMM/ ${c3}MMMM
|
MM${c4}MMMMMMM/`:MMM/ ${c3}MMMM
|
||||||
MMMM MMMM
|
MMMM MMMM
|
||||||
MMMM MMMM
|
MMMM MMMM
|
||||||
\"""" \""""
|
"\"\"" "\"\""
|
||||||
""")
|
""")
|
||||||
|
|
|
@ -7,7 +7,7 @@ ${c1}
|
||||||
,/' '"";
|
,/' '"";
|
||||||
/ ".
|
/ ".
|
||||||
,'mmmMMMMmm. \
|
,'mmmMMMMmm. \
|
||||||
_/-"^^^^^\"""%#%mm, ;
|
_/-"^^^^^"\""%#%mm, ;
|
||||||
,m,_,' "###) ;,
|
,m,_,' "###) ;,
|
||||||
(###% \#/ ;##mm.
|
(###% \#/ ;##mm.
|
||||||
^#/ __ ___ ; (######)
|
^#/ __ ___ ; (######)
|
||||||
|
|
|
@ -11,6 +11,6 @@ ${c2}
|
||||||
${c2}*@@@@@@@@@@@@@@@@@@@@@@@@@p${c1}||||==,
|
${c2}*@@@@@@@@@@@@@@@@@@@@@@@@@p${c1}||||==,
|
||||||
${c1}`'||LLL{{""${c2}@$B@@@@@@@@@@@@@@@p${c1}||
|
${c1}`'||LLL{{""${c2}@$B@@@@@@@@@@@@@@@p${c1}||
|
||||||
${c1}`~=|||||||||||L"${c2}$@@@@@@@@@@@
|
${c1}`~=|||||||||||L"${c2}$@@@@@@@@@@@
|
||||||
${c1}````'\"""\""""${c2}'\"""\"""""
|
${c1}````'"\"\""\"\""${c2}'"\"\""\"\"\""
|
||||||
""")
|
""")
|
||||||
|
|
|
@ -3,7 +3,7 @@ from . import AsciiArt
|
||||||
|
|
||||||
trisquel = AsciiArt(match=r'''"Trisquel"*''', color='4 6', ascii=r"""
|
trisquel = AsciiArt(match=r'''"Trisquel"*''', color='4 6', ascii=r"""
|
||||||
${c1} ,o$$$o.
|
${c1} ,o$$$o.
|
||||||
,o$$Y\"""Y$$b
|
,o$$Y"\""Y$$b
|
||||||
,o$$$$$$o. ,$$' , Y$$b
|
,o$$$$$$o. ,$$' , Y$$b
|
||||||
,o$$$$$$$$$$$$o. :$ b Y$$.
|
,o$$$$$$$$$$$$o. :$ b Y$$.
|
||||||
,$$"' "Y$$$$o. 'b. ,b d$$$
|
,$$"' "Y$$$$o. 'b. ,b d$$$
|
||||||
|
@ -11,7 +11,7 @@ $$' .d$$$$b '$$$$o 'Y$$$Y d$$$'
|
||||||
$$' q' 'b '$$$$$o._ _.o$$$$'
|
$$' q' 'b '$$$$$o._ _.o$$$$'
|
||||||
.$$,_ _,d$ ,$$$$$$$$$$$$${c2}$$$$Y'
|
.$$,_ _,d$ ,$$$$$$$$$$$$${c2}$$$$Y'
|
||||||
${c1} '$$$$aaa$$$' .$$$$$$${c2}$$$$$$$$'
|
${c1} '$$$$aaa$$$' .$$$$$$${c2}$$$$$$$$'
|
||||||
${c1} \"""" ${c2}d$$$$"'
|
${c1} "\"\"" ${c2}d$$$$"'
|
||||||
d$$$' .d$$b.
|
d$$$' .d$$b.
|
||||||
$$$$ .$" 'a$.
|
$$$$ .$" 'a$.
|
||||||
$$$$ $b $$.
|
$$$$ $b $$.
|
||||||
|
|
|
@ -140,7 +140,9 @@ def export_distro(d: AsciiArt) -> str:
|
||||||
varname = varname.replace(s, '_')
|
varname = varname.replace(s, '_')
|
||||||
|
|
||||||
# Escape/unescape ascii
|
# Escape/unescape ascii
|
||||||
ascii = d.ascii.replace('"""', '\\"""').replace("\\\\", "\\")
|
ascii = d.ascii.replace("\\\\", "\\")
|
||||||
|
while '"""' in ascii:
|
||||||
|
ascii = ascii.replace('"""', '"\\""')
|
||||||
|
|
||||||
script = f"""
|
script = f"""
|
||||||
from . import AsciiArt
|
from . import AsciiArt
|
||||||
|
|
Loading…
Reference in a new issue