[MM-36326][MM-45669] Added Native Node Module support - incl demo to fix DND issue (#2195)

* [MM-36326] Added Native Node Module support - incl demo to fix DND issue

* Fix OS per build

* Fix to include priority alarms on Windows

* Update node command

* Fixes for mac (only work on non-MAS build)

* Attempt to rebuild properly since electron-builder is having issues with a module

* Show me more logs maybe idk

* Try with ignore-scripts

* Force async to work asyncly

* PR feedback and ESLint fixes

* Add comment for node-gyp

* Revert me: test msi and mac installer

* Revert me too

* Try reverting back to the old system cause the new one miraculously broke...

* Add ignore scripts to makefile

* Ignore non-macho files :P

* Revert "Revert me too"

This reverts commit 074dc9551a2d8ce34a23a3abaeed937d957e8b76.

* Revert "Revert me: test msi and mac installer"

This reverts commit 0ac998c26a824e7136bdfdc825280a407bb1aa7f.
This commit is contained in:
Devin Binnie
2022-08-02 11:33:48 -04:00
committed by GitHub
parent fcc9215f37
commit 1e35a97f33
9 changed files with 599 additions and 476 deletions

View File

@@ -17,6 +17,7 @@
"files": [
"node_modules/bootstrap/dist/**",
"node_modules/font-awesome/{css,fonts}/**",
"!**/node_modules/macos-notification-state/build/Release/.forge-meta",
{
"from": "dist",
"to": ".",
@@ -36,6 +37,7 @@
]
}
],
"beforePack": "scripts/beforepack.js",
"afterPack": "scripts/afterpack.js",
"afterSign": "scripts/notarize.js",
"afterAllArtifactBuild": "scripts/afterbuild.js",
@@ -52,6 +54,10 @@
"category": "contrib/net",
"priority": "optional"
},
"asarUnpack": [
"./node_modules/macos-notification-state/**/*",
"./node_modules/windows-focus-assist/**/*"
],
"linux": {
"category": "Network;InstantMessaging",
"target": [