-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
fix: guard more private API usage on MAS builds #37309
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 🙇♀️
We may also have to filter out |
@VerteDinde That just requires us to not guard the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The unused function error need to be resolved.
../../sandbox/mac/seatbelt.cc:50:6: error: unused function 'HandleSandboxResult' [-Werror,-Wunused-function]
bool HandleSandboxResult(int rv, char* errorbuf, std::string* error) {
^
../../sandbox/mac/seatbelt.cc:63:6: error: unused function 'HandleSandboxErrno' [-Werror,-Wunused-function]
bool HandleSandboxErrno(int rv, const char* message, std::string* error) {
^
Release Notes Persisted
|
I have automatically backported this PR to "23-x-y", please check out #37363 |
I have automatically backported this PR to "24-x-y", please check out #37364 |
to fix mas issue electron/electron#37309
Description of Change
Closes #37292.
Refs CL:4079319
Guards more usage of private APIs (see here) on Mac App Store builds causing rejections.
Checklist
npm test
passesRelease Notes
Notes: Fixed potential private API usage for MAS builds on macOS.