Skip to content

Commit 263d881

Browse files
committed
mac: Set process.mas to true for MAS build
1 parent 56e5473 commit 263d881

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

atom/common/api/atom_bindings.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ void AtomBindings::BindTo(v8::Isolate* isolate,
7171
// Do not warn about deprecated APIs.
7272
dict.Set("noDeprecation", true);
7373

74+
#if defined(MAS_BUILD)
75+
dict.Set("mas", true);
76+
#endif
77+
7478
mate::Dictionary versions;
7579
if (dict.Get("versions", &versions)) {
7680
versions.Set(ATOM_PROJECT_NAME, ATOM_VERSION_STRING);

0 commit comments

Comments
 (0)