增加注释
This commit is contained in:
parent
b67e538353
commit
26241d54a1
|
@ -20,13 +20,14 @@ from . import web as webs
|
||||||
def cli():
|
def cli():
|
||||||
today = datetime.datetime.today()
|
today = datetime.datetime.today()
|
||||||
if today.month == 9 and today.day == 28:
|
if today.month == 9 and today.day == 28:
|
||||||
|
# 原神彩蛋
|
||||||
webbrowser.open("https://ys.mihoyo.com/")
|
webbrowser.open("https://ys.mihoyo.com/")
|
||||||
util.console.print("[green]Genshin!activate![/green]")
|
util.console.print("[green]Genshin!activate![/green]")
|
||||||
time.sleep(0.7)
|
time.sleep(0.7)
|
||||||
util.console.print("[green]You all must download Genshin Impact.[/green]")
|
util.console.print("[green]You all must download Genshin Impact.[/green]")
|
||||||
time.sleep(0.7)
|
time.sleep(0.7)
|
||||||
util.console.print("Then don't use PMPT.", style="green")
|
util.console.print("Then don't use PMPT.", style="green")
|
||||||
|
# 检测是否有pip
|
||||||
try:
|
try:
|
||||||
import pip
|
import pip
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user