19 lines
315 B
Python
19 lines
315 B
Python
from ui import DeathLogGUI
|
|
import tkinter as tk
|
|
from contextlib import suppress
|
|
|
|
|
|
def main():
|
|
with suppress(Exception):
|
|
from ctypes import windll
|
|
|
|
windll.shcore.SetProcessDpiAwareness(1)
|
|
|
|
root = tk.Tk()
|
|
app = DeathLogGUI(root)
|
|
root.mainloop()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|