Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG massive with new Electron macOS 300+mb #446

Closed
danoli3 opened this issue Dec 14, 2023 · 5 comments
Closed

PG massive with new Electron macOS 300+mb #446

danoli3 opened this issue Dec 14, 2023 · 5 comments

Comments

@danoli3
Copy link
Member

danoli3 commented Dec 14, 2023

  • Check compiler flags
  • Make sure release mode
  • disable symbols

Targets:

  • macOS arm64 / x86_64

Need to get this down

@danoli3
Copy link
Member Author

danoli3 commented Dec 14, 2023

otool -v -s __LLVM __bundle "projectGenerator.app/contents/frameworks/Electron Framework.framework/Electron Framework" 

returns
projectGenerator.app/contents/frameworks/Electron Framework.framework/Electron Framework (architecture x86_64):
projectGenerator.app/contents/frameworks/Electron Framework.framework/Electron Framework (architecture arm64):

BITCODE is embedded in the Electron Framework.... yeah remove that

@danoli3
Copy link
Member Author

danoli3 commented Dec 15, 2023

Okay this fixed via: #450

@danoli3 danoli3 closed this as completed Dec 15, 2023
@ofTheo
Copy link
Member

ofTheo commented Dec 15, 2023

cool!!
just to check, is it still packaging a universal PG?

x86_64 PG runs super slow on arm64 for some reason.

@danoli3
Copy link
Member Author

danoli3 commented Dec 15, 2023

It's easily configurable, I've made it universal again now

@danoli3
Copy link
Member Author

danoli3 commented Dec 15, 2023

Yeah had some issues but your fix idea solved it! yay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants