Skip to content

[Bug] Electron package for OSX includes Windows DLLs #2399

@bwalding

Description

@bwalding

Describe the bug

It looks like unnecessary Windows DLLs are being packaged into the Electron app for OSX.

To Reproduce

Unpack the Goose UI download and then run the script as below:

find /Applications/Goose.app -type f -name '*.dll' -exec ls -lh {} \; | cut -c 35-
312K 23 Apr 16:14 /Applications/Goose.app/Contents/Resources/bin/libwinpthread-1.dll
 23M 23 Apr 16:14 /Applications/Goose.app/Contents/Resources/bin/libstdc++-6.dll
650K 23 Apr 16:14 /Applications/Goose.app/Contents/Resources/bin/libgcc_s_seh-1.dll

Expected behavior

Only required data is inside the package - this is just unnecessary bloat I suspect.

Please provide following information:

  • OS & Arch: OSX (Silicon)
  • Interface: UI
  • Version: 1.0.21
  • Extensions enabled: N/A
  • Provider & Model: N/A

Additional context

I only found this because I wondered why the Goose binary download is so large (the answer is Electron, always Electron...)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions