From 92cec430fff31cf5d5826732feb25ebe747991d4 Mon Sep 17 00:00:00 2001 From: "Mike A. Trethewey" Date: Wed, 4 Mar 2020 00:54:42 -0800 Subject: [PATCH] See if this fixes this damn dll --- DungeonRandomizer.spec | 3 +++ Gui.spec | 3 +++ 2 files changed, 6 insertions(+) diff --git a/DungeonRandomizer.spec b/DungeonRandomizer.spec index 7b8de387..dff96ef5 100644 --- a/DungeonRandomizer.spec +++ b/DungeonRandomizer.spec @@ -35,6 +35,9 @@ a = Analysis(['DungeonRandomizer.py'], cipher=block_cipher, noarchive=False) +if sys.platform.find("windows"): + a.binaries.append("ucrtbase.dll") + # https://stackoverflow.com/questions/17034434/how-to-remove-exclude-modules-and-files-from-pyinstaller excluded_binaries = [ 'VCRUNTIME140.dll', diff --git a/Gui.spec b/Gui.spec index 9d02abdf..56404336 100644 --- a/Gui.spec +++ b/Gui.spec @@ -40,6 +40,9 @@ a = Analysis(['Gui.py'], cipher=block_cipher, noarchive=False) +if sys.platform.find("windows"): + a.binaries.append("ucrtbase.dll") + # https://stackoverflow.com/questions/17034434/how-to-remove-exclude-modules-and-files-from-pyinstaller excluded_binaries = [ 'VCRUNTIME140.dll',