56 questions
0 votes
1 answer
22 views
What is the point of using process.resourcesDir?
What advantages does it have over bundling stuff into ASAR?
0 votes
1 answer
36 views
Meteor-Desktop (Community) - Build Failing due to link out of package
I have some local node.js packages In settings.json I have linked these through, however on one of them am getting an error stating the package links out of the package and this terminates meteor-...
1 vote
0 answers
70 views
Electron cannot find tmp node files on some installs
We have an electron application that is built using vite and the electron-builder using the --windows flag. Since the last release we have gotten complaints from users that cannot start the app ...
0 votes
1 answer
1k views
How to protect app.asar file after building my electron-app?
I have an electron app to record certain data. App.asar file is generated after building my electron app. Security concern is that "app.asar" file is being de-obfuscated, and main.js file is ...
2 votes
1 answer
1k views
Electron - How to point to a path outside asar generated app
I have an electron app that will be executed using a node script that will run a cron once a week. I need to execute a python file that is in a folder named dependencies and it's created when I do the ...
1 vote
3 answers
1k views
electron-builder MSI installer asar file too large
I have an Angular app for which I need to create an MSI installer. I have successfully created an electron app (npm run electron), but when I try to create the installer I get this error: error ...
1 vote
1 answer
483 views
electron-builder application cannot find node-gyp compiled *.node module
I want to run an express server backend from the electron main thread, which uses a C++ module compiled with node-gyp (called BackendCppNode.node). The backend script includes the module using const ...
5 votes
0 answers
369 views
Electron app doesnt launch after modefing app.asar on macOS
So l am trying to modify an electron application. Firstly, I extracted app.asar into a folder then modefed an html file and launched the program. And it worked, my html was applyed to this application....
1 vote
2 answers
2k views
How to unlock an asar file that's being used by that same application?
I have an asar file that is read from an electron app. From the same app, I want to delete this asar file, however I keep getting an EBUSY error. I have found only two places where this asar file is ...
1 vote
1 answer
1k views
Electron-builder doesnt generate dist files
I'm trying to build an installer with electron-builder but every time I generate the installer and install my application, I get an error that "dist/index" doesn't exist in .asar file. I ...
1 vote
1 answer
1k views
Electron/Netralinojs source source code "protection"
I am evaluating which framework to create a desktop app. A requirement I have is that the source code "protection" (no one should see the original source code). For Neautrlinojs I have found ...
1 vote
0 answers
4k views
problem extracting an app.asar file using the asar command
I am new to Electron and want to make (at first) a sample javascript change in the Slack Electron app. I am here on a Mac OSX: /Applications/Slack.app/Contents/Resources and run the following: asar ...
0 votes
1 answer
396 views
Electron with @mikro-orm migration scripts with asar enabled
I am using @mikro-orm/migrations in my Electron app, I created migration files and want to run the database migrations in production mode, while at the same time, I also want to enable asar packaging ...
3 votes
0 answers
536 views
How could I use asarmor in electron-forge?
How could I use asarmor in electron-forge? I want to use asarmor to make my electron app more stronger,How could I do with the electron-forge?
2 votes
0 answers
750 views
Electron: Should I still consider asar if I am already using a bundler (Webpack)?
The electron-packager docs mention three reasons why I might want to consider packaging my app into an asar archive (the Electron-specific archive format): Avoid issues with long path names on ...