mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-12 02:30:41 +09:00
13 lines
No EOL
307 B
JavaScript
13 lines
No EOL
307 B
JavaScript
const fs = require('fs');
|
|
|
|
exports.default = async function(context){
|
|
const { electronPlatformName, arch } = context;
|
|
|
|
console.log('Build AfterPack', electronPlatformName, arch);
|
|
|
|
if (electronPlatformName !== 'darwin') {
|
|
return;
|
|
};
|
|
|
|
fs.rmSync('./build', { recursive: true, force: true });
|
|
}; |