This only applies for Windows on the default CurseForge installation. You should have a modern Node.JS installation (I'm using version 20)
- Go to
C:\Users\<YOUR USER>\AppData\Local\Programs\CurseForge Windows\resources - Run
npm init -yin your cmd - Run
npm i @electron/asar - Create a new file called
hash.jsin the directory - Paste the following code into
hash.js
const asar = require('@electron/asar');