TablePlus / TablePlus

TablePlus macOS issue tracker
https://tableplus.com
3.48k stars 57 forks source link

macOS - Unable to Manage Software Update Settings #2817

Open paul-cossey opened 2 years ago

paul-cossey commented 2 years ago

Please answer the questions below, it helps us to keep track of the issue. Please do not ignore it or your issue will be closed.

  1. Which driver are you using and version of it (Ex: PostgreSQL 10.0): N/A

  2. Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81): 450

  3. The steps to reproduce this issue: Create a Configuration Profile for the preference domain com.tinyapp.TablePlus with the below keys set. Install on a macOS client. Open an old version of TablePlus, the app will want to auto update.

<key>SUEnableAutomaticChecks</key>
<true/>
<key>SUHasLaunchedBefore</key>
<true/>

The reason we need this is many of our customers are Standard Users on their macOS computers and the autoupdate mechanisms in TablePlus require Admin rights.

Full (sanitised) Config Profile I've been testing with is here - I have tried scoping as User and also System:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>PayloadContent</key>
    <array>
        <dict>
            <key>PayloadDescription</key>
            <string>Disables Software Update Check for TablePlus </string>
            <key>PayloadDisplayName</key>
            <string>Disable Auto Software Update - Table Plus</string>
            <key>PayloadIdentifier</key>
            <string>uk.co.testname.00000000-000-0000-0000-000000000.com.tinyapp.TablePlus.00000000-000-0000-0000-000000000</string>
            <key>PayloadOrganization</key>
            <string>Some_Company</string>
            <key>PayloadType</key>
            <string>com.tinyapp.TablePlus</string>
            <key>PayloadUUID</key>
            <string>00000000-000-0000-0000-000000000</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>SUEnableAutomaticChecks</key>
            <true/>
            <key>SUHasLaunchedBefore</key>
            <true/>
        </dict>
    </array>
    <key>PayloadDescription</key>
    <string>Disables Software Update Check for TablePlus </string>
    <key>PayloadDisplayName</key>
    <string>Disable Auto Software Update - Table Plus</string>
    <key>PayloadIdentifier</key>
    <string>uk.co.testname.00000000-000-0000-0000-000000000</string>
    <key>PayloadOrganization</key>
    <string> Some_Company</string>
    <key>PayloadScope</key>
    <string>User</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>00000000-000-0000-0000-000000000</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>
huyphams commented 2 years ago

Hi @paul-cossey you can turn off auto-update, does this help? CleanShot 2022-09-24 at 00 35 33@2x

huyphams commented 2 years ago

You couldn't disable auto-update because TablePlus override this setting by default (due to our special pricing model). I think you can block the request from Sparkle to prevent TablePlus to download the new updates, and then you can manage the update from your application.

gabrielkoerich commented 5 months ago

So the option to turn off auto update just doesn't work?