const { app } = require('electron') const path = require('path') const fse = require('fs-extra') module.exports = async (event, appId) => { const appDir = path.resolve(app.getPath('home'), `./s207/apps/${appId}`) return fse.removeSync(appDir) }