Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

decompile electron app

# Open terminal and install asar node module globally
$ npm install -g asar
# Go into the app’s directory, in our case it’s Slack
$ cd /Applications/Slack.app/Contents/Resources
# Create a directory to paste the content of app
$ mkdir example-sourcecode
# Unpack the app.asar file in the above directory using asar
$ asar extract app.asar example-sourcecode 
# Boom cd into it and see the source code of the app
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #decompile #electron #app
ADD COMMENT
Topic
Name
1+8 =