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',