Closed vfsfitvnm closed 1 year ago
Alright, it was a matter of an optional chaining - not sure how I missed that.
I didn't add a workaround in case base64decode is undefined because it should always be defined on node.
base64decode
I confirm I can successfully compile and build using:
git clone https://github.com/vfsfitvnm/frida-compile.git cd frida-compile git submodule init git submodule update sed -i -e 's/import pkg from ".\/package.json" assert {type: "json"}\;/import {readFileSync} from "fs"\;\nconst pkg = JSON.parse(readFileSync(".\/package.json", {encoding: "utf8"}))\;/g' ext/cjstoesm/rollup.config.mjs make mkdir ../frida-il2cpp-bridge-example && cd "$_" npm init --yes echo 'import "frida-il2cpp-bridge";' > index.js npm i -D ../frida-compile @types/frida-gum frida-il2cpp-bridge npm exec frida-compile -- -o out.js index.js
Thanks! :raised_hands:
Alright, it was a matter of an optional chaining - not sure how I missed that.
I didn't add a workaround in case
base64decode
is undefined because it should always be defined on node.I confirm I can successfully compile and build using: