79730138

Date: 2025-08-08 18:44:33
Score: 1
Natty:
Report link
I finally managed to make it work by
- storing myprogram.exe in the root directory,
- keeping the original file package.json, and
- adding in forge.config.js:
module.exports = {
  packagerConfig: {
    asar: true,
    extraResource: ['myprogram.exe']
  },

Note that there is no final "s" in ExtraResource

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: silberz