team113 / messenger

Open-source front-end part of messenger by team113
GNU Affero General Public License v3.0
14 stars 13 forks source link

Prevent `media_kit` from copying `msvcp140.dll` to Windows build #1034

Closed SleepySquash closed 3 weeks ago

SleepySquash commented 3 weeks ago

Synopsis

Windows application won't run at all.

Solution

The crash happens due to msvcp140.dll library being copied by media_kit during Windows build. For some reason using the copied library crashes the application during launch. Deleting the library forces Windows to use the system32 hosted version of it, if installed, which fixes the issue.

This PR simply removes the library from being copied over.

Checklist

SleepySquash commented 3 weeks ago

FCM

Prevent `media_kit` from copying `msvcp140.dll` to Windows build (#1034)