fix: use ScreenCaptureKit exclusively on macOS 14.4 and higher (#41404)
This fixes a nasty warning / permission dialog that pops up to end-users when consuming legacy APIs. Chrome has flipped these flags via field trials as have other Electron apps. It should just be the default. Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
This commit is contained in:
parent
310598c43d
commit
25b0212fe6
4 changed files with 43 additions and 0 deletions
|
@ -5,9 +5,12 @@
|
|||
#ifndef ELECTRON_SHELL_BROWSER_FEATURE_LIST_H_
|
||||
#define ELECTRON_SHELL_BROWSER_FEATURE_LIST_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace electron {
|
||||
void InitializeFeatureList();
|
||||
void InitializeFieldTrials();
|
||||
std::string EnablePlatformSpecificFeatures();
|
||||
} // namespace electron
|
||||
|
||||
#endif // ELECTRON_SHELL_BROWSER_FEATURE_LIST_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue