Bananabot (talk | contribs)
Added archive URLs for 4 citation(s) using CRWCitationBot
Rudxain (talk | contribs)
m wanted: JS
Line 19: Line 19:
#Install the npm package <code>asarfix</code> and use it to fix the archive: <code>npx asarfix app.asar -k <KEY> -o fixed.asar</code>
#Install the npm package <code>asarfix</code> and use it to fix the archive: <code>npx asarfix app.asar -k <KEY> -o fixed.asar</code>
#Now you can extract it in cleartext with  <code>npx asar extract fixed.asar src</code>
#Now you can extract it in cleartext with  <code>npx asar extract fixed.asar src</code>
#<code>./src/.vite/build/main.js</code> is minified. Use any JavaScript beautifier (for example <code>prettier</code>) to make it better readable. Interesting user code (including the private key) is at the end of the file.
#<code>./src/.vite/build/main.js</code> is minified. Use any [[JavaScript]] beautifier (for example <code>prettier</code>) to make it better readable. Interesting user code (including the private key) is at the end of the file.


===Extracting certs and private key===
===Extracting certs and private key===