mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-09-05 20:06:23 +00:00
websocket播放支持
This commit is contained in:
@ -7,14 +7,14 @@ console = Console()
|
||||
|
||||
|
||||
def main():
|
||||
with console.status("Find the full path of .egg-info folder"):
|
||||
with console.status("寻众迹于 .egg-info 内"):
|
||||
egg_info: list = []
|
||||
for file in os.listdir():
|
||||
if file.endswith(".egg-info"):
|
||||
egg_info.append(file)
|
||||
console.print(file)
|
||||
for file in track(
|
||||
["build", "dist", "logs", *egg_info], description="Deleting files"
|
||||
["build", "dist", "logs", *egg_info], description="正删档"
|
||||
):
|
||||
if os.path.isdir(file) and os.access(file, os.W_OK):
|
||||
shutil.rmtree(file)
|
||||
|
Reference in New Issue
Block a user