Mac Agent dmg file problem
-
I have downloaded the Mac Agent to my MacBook Pro but when I try to open the dmg file I get a message saying it is a ‘corrupt image’. My mac OS is 10.10.5.
-
Thanks for telling me @valentinemercier. I'll take a look.
I just deleted my TRIGGERcmd install from my Applications folder, re-downloaded it from the website, and it worked ok for me. Will you please try downloading it again?
-
I'm having this exact problem too. After s̶o̶m̶e̶ a lot of googling and trying stuff, I think it's the same issue as this. Makes sense since I'm using OS X Yosemite 10.10.3. Is there any old archived release I could try? or some instructions to build it myself?
Thanks!
David. -
@lima, this is the previous version. https://s3.amazonaws.com/triggercmdagents/TRIGGERcmdAgent-1.0.18.dmg
Here's an even older version that might work with Yosemite: https://s3.amazonaws.com/triggercmdagents/TRIGGERcmdAgent-1.0.17.dmg
You could try building it yourself if you want. You can't sign your build without my certificate, so instead of the macbuild.sh file in the repo, use this script:
cp macpackage.json package.json npm install rm -rf out/make/* electron-forge --verbose make cd out/make create-dmg TRIGGERcmdAgent.app cd ../..
Before you run that, you'll need these installed:
npm install -g electron-forge npm install -g create-dmg
-
@russ Thank you very much!
The old versions didn't work for me (same error) but I could build it from source flawlesslyPS: The .app ends up being ~181.1MB which seems a bit excessive… is there any way to trim it down a bit? maybe some Electron flags?
-
@lima, you might be able to shrink it down a little, but probably not much because the agent needs a few node module dependencies which require other dependencies. Most of that bloat if from electron for the GUI - it's basically a small version of the Chromium browser which is at core of Chrome.