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

    Mac app issues

    Scheduled Pinned Locked Moved General Discussion
    22 Posts 3 Posters 11.2k Views 1 Watching
    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.
    • ? Offline
      [[global:former-user]] @Russ
      last edited by

      @russ I know it's been months, but I was recently working on an unrelated app and have realized a likely reason why TriggerCMD login item would get added on first run even if the app was already in the login items.

      The first time a Mac app runs when its been downloaded from the internet, it is quarantined by the system.

      An app can check if it's running in quarantine because its execution path will include a folder called "AppTranslocation".

      A simple fix could be to detect if the app path is in this qaurantine folder and, if so, check if the app exists in /Applications. If it does, then use the /Applications path instead of the path the app returned for itself for the login item.

      If for some reason a user didn't install it in /Applications then there's no loss in falling back to waiting until the second run.

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

        @pico, that's interesting. I'll experiment with that. I hope it works. Thanks for the suggestion.

        EDIT: I worked on it for a while and didn't get it working. I couldn't get it to add the Login item while it's quarantined. I think that's a mac security feature for apps downloaded outside of the app store.

        Russell VanderMey

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post