You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a setup with two package.json files.
My build process compiles my Typescript files into Javascript and stores them in the dist/ folder. Inside this dist folder is the inner package.json containing the electron builder configuration inside the build tag.
This build tag contains: "build: { "appId": "com.example.project", "asar": false }
The outer package.json calls the builder via a NPM command: build --dir --projectDir dist
The result is just as expected and works absolutely fine. If I set asar to true, though, the command crashes telling me the index.js could not be found. Calling the command via console directly does the same thing if I call it from the main folder. Calling it from the subfolder dist instead without setting the --projectDir flag works fine.
Executing asar list on the broken .asar file shows all of my files from the main directory instead of the subfolder's entries.
The text was updated successfully, but these errors were encountered:
No version of electron-updater is being used.
I am using a setup with two package.json files.
My build process compiles my Typescript files into Javascript and stores them in the dist/ folder. Inside this dist folder is the inner package.json containing the electron builder configuration inside the build tag.
This build tag contains:
"build: { "appId": "com.example.project", "asar": false }
The outer package.json calls the builder via a NPM command:
build --dir --projectDir dist
The result is just as expected and works absolutely fine. If I set asar to true, though, the command crashes telling me the index.js could not be found. Calling the command via console directly does the same thing if I call it from the main folder. Calling it from the subfolder dist instead without setting the --projectDir flag works fine.
Executing asar list on the broken .asar file shows all of my files from the main directory instead of the subfolder's entries.
The text was updated successfully, but these errors were encountered: