SuperMeepBoy / wikitransbot

Twitter bot for Wikitrans
https://wikitrans.co/
MIT License
3 stars 2 forks source link

[BUG] Popup missing dll when running the .exe #8

Closed SuperMeepBoy closed 2 years ago

SuperMeepBoy commented 3 years ago

When running the .exe there is a problem with GetDaylightFlag.dll missing in ucrtbase.dll

Expected Behavior

No DLL are missing

Current Behavior

At least one DLL is missing.

Possible Solution

-r RESOURCE, --resource RESOURCE Add or update a resource to a Windows executable. The RESOURCE is one to four items, FILE[,TYPE[,NAME[,LANGUAGE]]]. FILE can be a data file or an exe/dll. For data files, at least TYPE and NAME must be specified. LANGUAGE defaults to 0 or may be specified as wildcard to update all resources of the given TYPE and NAME. For exe/dll files, all resources from FILE will be added/updated to the final executable if TYPE, NAME and LANGUAGE are omitted or specified as wildcard .This option can be used multiple times.

Install the Windows Software Development Kit (SDK) for Windows 10 and expand the .spec-file to include the required DLLs, see “Distributing Software that uses the Universal CRT“ in the above-mentioned link, number 6 https://readthedocs.org/projects/pyinstaller/downloads/pdf/stable/

Steps to Reproduce

  1. Download the .exe
  2. Run the .exe

Context (Environment)

OS: Windows 11

SuperMeepBoy commented 2 years ago

No support for Windows planned anymore.