From 0d0f8bef67331d3c34ed8c480a32d868b0bfca91 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 16 Sep 2024 09:28:14 +0200 Subject: [PATCH] check files --- apps/remixdesktop/after-pack.js | 3 ++- apps/remixdesktop/insiders.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remixdesktop/after-pack.js b/apps/remixdesktop/after-pack.js index 8feae5ccab..692890f813 100644 --- a/apps/remixdesktop/after-pack.js +++ b/apps/remixdesktop/after-pack.js @@ -2,12 +2,13 @@ const fs = require('fs-extra'); const path = require('path'); exports.default = async function (context) { + console.log('Running after-pack hook', 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('./node_modules', 'node-pty'), path.join(resourcesPath, 'node_modules', 'node-pty') ); }; diff --git a/apps/remixdesktop/insiders.json b/apps/remixdesktop/insiders.json index 0215309b50..0968d6df7b 100644 --- a/apps/remixdesktop/insiders.json +++ b/apps/remixdesktop/insiders.json @@ -7,7 +7,6 @@ "files": [ "build/**/*" ], - "afterPack": "after-pack.js", "afterSign": "aftersign.js", "afterAllArtifactBuild": "afterbuild.js", "publish": [