lra / mackup

Keep your application settings in sync (OS X/Linux)
GNU General Public License v3.0
14.52k stars 930 forks source link

BetterTouchTool version update #1594

Open rob-miller opened 4 years ago

rob-miller commented 4 years ago

Similar to #1028, it seems BTT has updated file version names again:

rob@ra:09 15:32:26 ~ $ mackup --version
Mackup 0.8.29
rob@ra:09 15:34:44 ~ $ mackup show bettertouchtool
Name: BetterTouchTool
Configuration files:
 - Library/Application Support/BetterTouchTool/bttdata2
 - Library/Application Support/BetterTouchTool/btt_data_store.v2-shm
 - Library/Preferences/com.hegenberg.BetterTouchTool.plist
 - Library/Application Support/BetterTouchTool/btt_data_store.v2-wal
 - Library/Application Support/BetterTouchTool/btt_data_store.v2
 - Library/Application Support/BetterTouchTool/bettertouchtool.license
rob@ra:09 15:36:38 ~ $ ls -lh Library/Application\ Support/BetterTouchTool/
total 54792
-rw-r--r--   1 rob  staff   1.0M  1 Jun 13:11 BTTClipboardManager.sqlite
-rw-r--r--   1 rob  staff    32K  9 Jun 14:44 BTTClipboardManager.sqlite-shm
-rw-r--r--   1 rob  staff   3.7M  9 Jun 14:31 BTTClipboardManager.sqlite-wal
drwxr-xr-x   3 rob  staff    96B  5 May 14:41 Backups
drwxr-xr-x  24 rob  staff   768B  5 May 19:08 Files
drwxr-xr-x   4 rob  staff   128B  8 Jun 23:17 Logs
drwxr-xr-x   5 rob  staff   160B 13 May 22:24 PresetBundles
-rw-r--r--   1 rob  staff   184K  5 May 14:41 btt_data_store.version_3_365_build_1582
-rw-r--r--   1 rob  staff    32K  5 May 14:46 btt_data_store.version_3_365_build_1582-shm
-rw-r--r--   1 rob  staff   1.2M  5 May 14:59 btt_data_store.version_3_365_build_1582-wal
-rw-r--r--   1 rob  staff   8.0M  7 May 11:33 btt_data_store.version_3_368_build_1587
-rw-r--r--   1 rob  staff    32K  8 May 16:27 btt_data_store.version_3_368_build_1587-shm
-rw-r--r--   1 rob  staff   109K  8 May 09:07 btt_data_store.version_3_368_build_1587-wal
-rw-r--r--   1 rob  staff   8.0M  7 May 11:33 btt_data_store.version_3_370_build_1593
-rw-r--r--   1 rob  staff    32K 12 May 08:04 btt_data_store.version_3_370_build_1593-shm
-rw-r--r--   1 rob  staff   1.0M 11 May 15:04 btt_data_store.version_3_370_build_1593-wal
-rw-r--r--   1 rob  staff   8.0M  7 May 11:33 btt_data_store.version_3_372_build_1596
-rw-r--r--   1 rob  staff    32K 13 May 22:03 btt_data_store.version_3_372_build_1596-shm
-rw-r--r--   1 rob  staff   1.2M 13 May 22:28 btt_data_store.version_3_372_build_1596-wal
-rw-r--r--   1 rob  staff   8.0M  4 Jun 11:39 btt_data_store.version_3_373_build_1597
-rw-r--r--   1 rob  staff    32K  9 Jun 10:53 btt_data_store.version_3_373_build_1597-shm
-rw-r--r--   1 rob  staff   752K  9 Jun 10:52 btt_data_store.version_3_373_build_1597-wal
-rw-r--r--   1 rob  staff   8.0M  4 Jun 11:39 btt_data_store.version_3_386_build_1609
-rw-r--r--   1 rob  staff    32K  9 Jun 14:44 btt_data_store.version_3_386_build_1609-shm
-rw-r--r--   1 rob  staff   837K  9 Jun 15:08 btt_data_store.version_3_386_build_1609-wal
-rw-r--r--   1 rob  staff   6.2K  9 Jun 15:08 btt_user_variables.plist
-rw-r--r--@  1 rob  staff   928B  5 May 14:46 urlimported.bttlicense
rob@ra:09 15:36:42 ~ $ 
rob-miller commented 4 years ago

I am successful with the cfg file below for sync'ing between user accounts on the same hosts and also between different hosts, however my main configuration is for the touchbar and only one of my hosts has this device. Nonetheless, the transferred configuration does look correct on the second host.

[application]
name = BetterTouchTool

[configuration_files]
Library/Application Support/BetterTouchTool/urlimported.bttlicense
Library/Application Support/BetterTouchTool/btt_data_store.version_3_387_build_1610-wal
Library/Application Support/BetterTouchTool/btt_data_store.version_3_387_build_1610-shm
Library/Application Support/BetterTouchTool/btt_data_store.version_3_387_build_1610
Library/Application Support/BetterTouchTool/.btt_data_store_SUPPORT
Library/Application Support/BetterTouchTool/btt_user_variables.plist

There are frequent updates for this application so without #1581 wildcard support this will break again soon.

Of note, the symbolic link for the file

Library/Application Support/BetterTouchTool/btt_user_variables.plist

is troublesome, and makes the whole thing a bit flakey:

rob-miller commented 4 years ago

Nope, still getting the error requester: 'Could not merge changes' when multiple running instances link to the configuration files; not certain that this can be supported.