Skip to content

Commit

Permalink
pref: 优化输出显示 (#130) (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckDuckStudio authored Nov 8, 2024
1 parent ec024d4 commit 0675241
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions DEV-PACK.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,13 @@ def package_pyw(file_path, log_file="None"):
file_path = os.path.join(root, file)
countd += 1
os.remove(file_path)
print(f'{Fore.GREEN}已删除源文件: {file_path} (还剩{acount-countd}个源文件)')
print(f'{Fore.GREEN}{Fore.RESET} 已删除源文件: {file_path} (还剩 {acount-countd} 个源文件)')

notification.notify(
title='Pyinstaller快速打包程序提醒您',
message=f'文件删除完成!总共删除了{countd}个原文件',
timeout=10
)
print(f"{Fore.GREEN}文件删除完成!总共删除了{countd}个原文件")
print(f"{Fore.GREEN}文件删除完成!总共删除了 {Fore.BLUE}{countd}{Fore.RESET} 个原文件")

input ("按 ENTER 键继续...")
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@ def package_pyw(file_path, log_file="None"):
file_path = os.path.join(root, file)
countd += 1
os.remove(file_path)
print(f'已删除源文件: {file_path} (还剩{acount-countd}个源文件)')
print(f'{Fore.GREEN}{Fore.RESET} 已删除源文件: {file_path} (还剩 {acount-countd} 个源文件)')

notification.notify(
title='Nuitka快速打包程序提醒您',
message=f'文件删除完成!总共删除了{countd}个原文件',
timeout=10
)
print(f"文件删除完成!总共删除了{countd}个原文件")
print(f"{Fore.GREEN}文件删除完成!总共删除了 {Fore.BLUE}{countd}{Fore.RESET} 个原文件")

input ("按 ENTER 键继续...")
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ def package_pyw(file_path, log_file="None"):
file_path = os.path.join(root, file)
countd += 1
os.remove(file_path)
print(f'已删除源文件: {file_path} (还剩{acount-countd}个源文件)')
print(f'{Fore.GREEN}{Fore.RESET} 已删除源文件: {file_path} (还剩 {acount-countd} 个源文件)')

notification.notify(
title='Pyinstaller快速打包程序提醒您',
message=f'文件删除完成!总共删除了{countd}个原文件',
timeout=10
)
print(f"{Fore.GREEN}文件删除完成!总共删除了{countd}个原文件")
print(f"{Fore.GREEN}文件删除完成!总共删除了 {Fore.BLUE}{countd}{Fore.RESET} 个原文件")

input ("按 ENTER 键继续...")

0 comments on commit 0675241

Please sign in to comment.