From 78a09326438245e2b69b2314e02e6ec86e2518f6 Mon Sep 17 00:00:00 2001 From: 13632530821 Date: Sat, 19 Nov 2022 20:02:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E7=AC=A6=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- 点名器.pyw | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8fe3e88..d101bea 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ build/ dist/ .history/ config.data -names.xls \ No newline at end of file +names.xls +Build.bat diff --git a/点名器.pyw b/点名器.pyw index f89c7e3..0a75c10 100644 --- a/点名器.pyw +++ b/点名器.pyw @@ -29,7 +29,7 @@ try: file.close() gui.iconbitmap(iconname) except IOError: - if not msgbox.askokcancel('资源文件错误', '在./assets目录下未能找到 点名器.ico 文件,点击「确定」将加载默认图标,点击「取消」以关闭程序'): + if not msgbox.askokcancel('资源文件错误', '在 ./assets目录下未能找到 点名器.ico 文件,点击「确定」将加载默认图标,点击「取消」以关闭程序'): sys.exit() try: @@ -38,7 +38,7 @@ try: file = open(procname) file.close() except IOError: - if msgbox.askokcancel('资源文件错误', '在./assets目录下未能找到音频文件,点击「确定」将关闭声音,点击「取消」以关闭程序'): + if msgbox.askokcancel('资源文件错误', '在 ./assets目录下未能找到音频文件,点击「确定」将关闭声音,点击「取消」以关闭程序'): sound = False else: sys.exit()