check files

pull/5200/head
bunsenstraat 2 months ago
parent ffe5a77b48
commit 0d0f8bef67
  1. 3
      apps/remixdesktop/after-pack.js
  2. 1
      apps/remixdesktop/insiders.json

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

@ -7,7 +7,6 @@
"files": [ "files": [
"build/**/*" "build/**/*"
], ],
"afterPack": "after-pack.js",
"afterSign": "aftersign.js", "afterSign": "aftersign.js",
"afterAllArtifactBuild": "afterbuild.js", "afterAllArtifactBuild": "afterbuild.js",
"publish": [ "publish": [

Loading…
Cancel
Save