postcat/scripts/afterPackHook.js
Scarqin a51feb0311
feat/ui-component (#188)
* feat: update extension UI
* fix(components): [manage-access] a tag rename to span
* feat: update e2e

Co-authored-by: buqiyuan <1743369777@qq.com>
Co-authored-by: 夜鹰 <17kungfuboy@gmail.com>
2022-12-30 23:46:51 +08:00

12 lines
288 B
JavaScript

//If stuck,check yarn.lock file,maybe has conflict
// upgrade.js
const child_process = require('child_process');
const os = require('os');
exports.default = async function (context) {
//windows
if (os.type() == 'Windows_NT') {
child_process.execSync(`yarn wininstaller`);
}
};