27a64cce1c
* Fix macos-notification-state build issue
* Fix windows build, a bit of cleanup
(cherry picked from commit 83b6c64cf3
)
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
16 lines
418 B
JavaScript
16 lines
418 B
JavaScript
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
const jq = require('node-jq');
|
|
const fs = require('fs');
|
|
|
|
jq.run(
|
|
'.scripts.install = "node-gyp rebuild"',
|
|
'./node_modules/macos-notification-state/package.json',
|
|
).then((result) => {
|
|
fs.writeFileSync(
|
|
'./node_modules/macos-notification-state/package.json',
|
|
result,
|
|
);
|
|
});
|