asar Questions

1

Solved

I am using create-react-app (CRA) to create and build my frontend code. My (simplified) folder structure looks like this: package.json node_modules/ public/ └── electron.js └── index.html src/ ...
Unpredictable asked 8/4, 2020 at 10:30

1

Solved

At the last step of my application when I want to build my desktop app (for windows 10 OS) with "npm run package-win" command I am getting the same warning in the title. Other problem is applicatio...
Sindysine asked 3/7, 2019 at 8:51

1

I am trying to build an electron app with a server component using express for remote control. The express module initializes with var staticPath = path.resolve('app/assets') setupNotifications(...
Salvia asked 25/3, 2016 at 14:15

2

Solved

I have packed my Electron application using the following command: asar pack app app.asar Now, I need to unpack it and get the whole code back. Is there any way to do so?
Grillage asked 22/7, 2016 at 10:3

1

I'm using electron-packager for creating an electron.exe of my app. I need to exclude all node modules . I tried the following --ignore=node_modules The above is not working. Any idea how to exclu...
Sight asked 23/3, 2018 at 9:27

1

Solved

I am attempting to run a script that is archived inside an ASAR file like so: var spawn = require('child_process').spawn; var t = spawn('node', ['./bundle.asar/main.js'], {}); t.on('data', func...
Medawar asked 11/12, 2016 at 10:26

1

In my main.js, I have: var mainFrm = require('./MainFrm'); This works fine except when the application is packaged as an asar file. I get a 'Cannot find module' error. The documentation states...
Anthracoid asked 7/4, 2016 at 22:0

1

Solved

So the question is in the title. As far as I understand, .asar is kind of archived file using in electron app. But what is the goal for it?
Epinasty asked 13/9, 2016 at 20:36
1

© 2022 - 2024 — McMap. All rights reserved.