mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-09-24 11:54:29 -07:00
Core: purge py3.8 and py3.9 (#3973)
Co-authored-by: Remy Jette <[email protected]> Co-authored-by: Jouramie <[email protected]> Co-authored-by: Aaron Wagener <[email protected]>
This commit is contained in:
co-authored by
Remy Jette
Jouramie
Aaron Wagener
parent
6c939d2d59
commit
334781e976
@@ -12,10 +12,7 @@ if sys.platform == "win32":
|
||||
|
||||
# kivy 2.2.0 introduced DPI awareness on Windows, but it makes the UI enter an infinitely recursive re-layout
|
||||
# by setting the application to not DPI Aware, Windows handles scaling the entire window on its own, ignoring kivy's
|
||||
try:
|
||||
ctypes.windll.shcore.SetProcessDpiAwareness(0)
|
||||
except FileNotFoundError: # shcore may not be found on <= Windows 7
|
||||
pass # TODO: remove silent except when Python 3.8 is phased out.
|
||||
ctypes.windll.shcore.SetProcessDpiAwareness(0)
|
||||
|
||||
os.environ["KIVY_NO_CONSOLELOG"] = "1"
|
||||
os.environ["KIVY_NO_FILELOG"] = "1"
|
||||
|
||||
Reference in New Issue
Block a user