Postinstall scripts not working
See original GitHub issueI’m trying to include a postinstall script in my pkg but it doesn’t seem to work.
electron-osx-flat MyApp.app --identity="3rd Party Mac Developer Installer: BLAHBLAH LTD (******)" --scripts="./scripts/" --install="/Applications"
./scripts/postinstall
mkdir ~/test
I run the install and the ~/test folder is not there. Hoping this is a pebkac; what am I doing wrong?
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Postinstall script is not being executed · Issue #5476
I'm working on an monorepo project, with the help of yarn workspace and lerna . It seems that yarn will execute the postinstall...
Read more >Issues in npm post-install script
There is some error in npm post-install script. My project is based on Linux but due to issues i have to run the...
Read more >PostInstall script not running on MacOS
I have created a package installer for MacOS with "productbuild" command line and adding the postinstall script in the package through command.
Read more >Scripts
If a dependency of the root package specifies its own scripts, Composer does not execute those additional scripts. Event names#. Composer fires the...
Read more >Post install script not running
Hello, So I'm using FOG to deploy an Ubuntu image, of course the image I'm deploying is not 'syspreped', that means it already...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
postinstall runs as root so your directory gets created in /var/root on macOS.
Nope.