remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/apps/remixdesktop/after-pack.js

13 lines
462 B

const fs = require('fs-extra');
const path = require('path');
exports.default = async function (context) {
const resourcesPath = context.appOutDir;
console.log('resourcesPath', resourcesPath);
console.log('context outdir', context.appOutDir);
// Copy the node-pty module to the app folder
await fs.copy(
path.join(context.appOutDir, 'node_modules', 'node-pty'),
path.join(resourcesPath, 'node_modules', 'node-pty')
);
};