diff --git a/proc.wav b/assets/proc.wav similarity index 100% rename from proc.wav rename to assets/proc.wav diff --git a/sel.wav b/assets/sel.wav similarity index 100% rename from sel.wav rename to assets/sel.wav diff --git a/点名器.ico b/assets/点名器.ico similarity index 100% rename from 点名器.ico rename to assets/点名器.ico diff --git a/names.xls b/names.xls deleted file mode 100644 index 87c30db..0000000 Binary files a/names.xls and /dev/null differ diff --git a/点名器.pyw b/点名器.pyw index a1a4ff8..7902b4b 100644 --- a/点名器.pyw +++ b/点名器.pyw @@ -16,6 +16,7 @@ gui.title("点名器") gui.geometry(gui_size) gui.resizable(0,0) gui.configure(bg = "white") +gui.iconbitmap("./assets/点名器.ico") class Student(object): name = "" subject = "" @@ -31,10 +32,10 @@ class Student(object): protection_override = False up_percent = 30 down_persent = 40 -filename = "names.xls" -configname = "config.data" -selname = "sel.wav" -procname = "proc.wav" +filename = "./data/names.xls" +configname = "./data/config.data" +selname = "./assets/sel.wav" +procname = "./assets/proc.wav" elim_rows = 1 percent_override = True