Opened 4 years ago

Closed 2 years ago

#56840 closed enhancement (fixed)

iTerm2 built in updater should be disabled

Reported by: rlhamil Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: iTerm2

Description (last modified by markemer (Mark Anderson))

iTerm2's built in updater is active, and even defaults to check in its preferences. Since apps installed via MacPorts should really only be updated via MacPorts, this could result in inconsistencies if someone used the builtin updater; so it should be disabled and if possible, hidden.

Change History (7)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Owner: set to markemer
Status: newassigned
Version: 2.5.3

In the future, please add the port maintainer(s) to Cc (port info --maintainers iTerm2), if any.

comment:2 Changed 4 years ago by markemer (Mark Anderson)

Ok, so it seems like key below controls the sparkle updates. Setting it to 0 should kill the popup boxes. I'm going to make sure it works and then add it to the portfile.

defaults read com.googlecode.iterm2.plist SUEnableAutomaticChecks

comment:3 Changed 2 years ago by markemer (Mark Anderson)

Description: modified (diff)

comment:4 Changed 2 years ago by markemer (Mark Anderson)

Description: modified (diff)
Summary: iTerm2 (@3.1.6) builtin updater should be disablediTerm2 built in updater should be disabled

comment:5 in reply to:  2 Changed 2 years ago by Tatsh (Andrew Udvare)

Replying to markemer:

Ok, so it seems like key below controls the sparkle updates. Setting it to 0 should kill the popup boxes. I'm going to make sure it works and then add it to the portfile.

defaults read com.googlecode.iterm2.plist SUEnableAutomaticChecks

This won't work as this defaults key is only for the user profile, not root. Still the best thing is to stub the update functions and disable/remove the checkbox and the menu entry.

comment:6 Changed 2 years ago by Tatsh (Andrew Udvare)

comment:7 Changed 2 years ago by Tatsh <Tatsh@…>

Resolution: fixed
Status: assignedclosed

In 22a786199c868842f0108f31f2955c17f8bab21c/macports-ports (master):

iTerm2: disable automatic update functionality (https://github.com/macports/macports-ports/pull/9042)

  • iTerm2: disable automatic update functionality

Closes: #56840

  • iTerm2: guard against undefined NS_WARN_UNUSED_RESULT
Note: See TracTickets for help on using tickets.