2022-10-24 07:43:45 -07:00
|
|
|
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
|
|
// See LICENSE.txt for license information.
|
|
|
|
|
|
|
|
const fs = require('fs');
|
|
|
|
|
2022-10-25 05:02:00 -07:00
|
|
|
const jq = require('node-jq');
|
|
|
|
|
2022-10-24 07:43:45 -07:00
|
|
|
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,
|
|
|
|
);
|
|
|
|
});
|