TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Mac Agent dmg file problem

    General Discussion
    3
    6
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      valentinemercier
      last edited by

      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.

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @valentinemercier
        last edited by Russ

        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?

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • L
          lima
          last edited by

          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.

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @lima
            last edited by Russ

            @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
            

            Russell VanderMey

            L 1 Reply Last reply Reply Quote 0
            • L
              lima @Russ
              last edited by lima

              @russ Thank you very much!
              The old versions didn't work for me (same error) but I could build it from source flawlessly 🙂

              PS: 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?

              RussR 1 Reply Last reply Reply Quote 0
              • RussR
                Russ @lima
                last edited by

                @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.

                Russell VanderMey

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post