packager: --asar-unpack = "./node_modules/node-notifier/vendor/**" not working
whadup!!!
part of my package.json:
"devDependencies": {
"coffee-script": "^1.10.0",
"electron-rebuild": "^1.0.2"
},
Executing on a Mac
electron-packager ./app/ \
"App Name" \
--platform="darwin" \
--arch="x64" \
--version="0.34.3" \
--out="dist/osx" \
--icon="./assets/osx/icon.icns" \
--app-bundle-id="com.app.name" \
--app-version="0.0.1" \
--ignore="node_modules/(electron-packager|electron-prebuilt)" \
--prune \
--asar \
--asar-unpack="node_modules/node-notifier/vendor/" \
Even though I use the option ‘prune’ and the option ‘ignore’ on the node modules “electron-packager”,“electron-prebuilt”, ‘app.asar.unpacked’ is NOT created
@Asar reported issue @node-notifier reported issue
any idea’s?
Thanks!!
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 15 (14 by maintainers)
Okay, I’m sorry to say this but, why the fuck did you bother to help me in the first place if you don’t know a lot about asar? Can you forward this issue to someone who’s more familiar with asar? Or can you tell me at least where to look, so I can try to fix it my self? The least you can do is setting the asar dependency version to ‘0.8.3’ (the latest), you’r currently using ‘0.6.1’… There is a great chance that will help…
Since there hasn’t been a response to whether
--unpack-asar-dirsolved the issue in some time, I’m closing it. If the problem still exists, please feel free to reopen.FYI, there is now a released version of electron-packager with
--unpack-asar-dir(5.2.0).