Fixed Hi-DPI for high resolution displays
This commit is contained in:
parent
934832ab0c
commit
501c5f8baa
|
@ -20,6 +20,9 @@ if sys.platform != 'win32':
|
|||
logging.info("[ERROR] This script only works on Windows!")
|
||||
os._exit(0)
|
||||
|
||||
# Fix Hi-DPI
|
||||
ctypes.windll.shcore.SetProcessDpiAwareness(2)
|
||||
|
||||
# Logging
|
||||
logging.basicConfig(filename="log.txt",
|
||||
format='%(asctime)s | %(message)s',
|
||||
|
|
Loading…
Reference in New Issue