feat: add new runningUnderARM64Translation property to detect x64 translated apps running on Windows ARM (#29168)
* feat: add new runningUnderARM64Translation property to detect x64 translated apps running on Windows ARM * docs: add documentation for the new runningUnderARM64Translation property * refactor: clean up `IsRunningUnderARM64Translation` Windows implementation * Return false if IsWow64Process2 doesn't exist * Emit deprecation warning in runningUnderRosettaTranslation
This commit is contained in:
parent
3b75549511
commit
abf6f5c8ba
5 changed files with 69 additions and 1 deletions
|
@ -223,6 +223,10 @@ class App : public ElectronBrowserClient::Delegate,
|
|||
v8::Global<v8::Value> dock_;
|
||||
#endif
|
||||
|
||||
#if defined(OS_MAC) || defined(OS_WIN)
|
||||
bool IsRunningUnderARM64Translation() const;
|
||||
#endif
|
||||
|
||||
#if defined(MAS_BUILD)
|
||||
base::RepeatingCallback<void()> StartAccessingSecurityScopedResource(
|
||||
gin::Arguments* args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue