I track my home folder and some other user data with a git repo. I’d like to be able to use this to sync my BTT settings and triggers, but it doesn’t look like any files change in ~Library/Application Support/BetterTouchTool when I change triggers
that is the correct folder! however it is a sqlite database so not very well suited for git
Ah, I see the issue, I had to manually checkpoint the db for the changes to show up. Thanks ![]()
Unusual request, but do you think you could make the app do the checkpoint automatically when quit?
sqlite3_wal_checkpoint_v2(
db,
NULL,
SQLITE_CHECKPOINT_TRUNCATE,
...
);
It would save me from having to remember to do it by hand and open up a terminal to do it
I couldn’t find any info on whether CoreData has an option for this (BTT uses CoreData backed by a SQLite db)
I could maybe offer an option to use a core data store without journal - this should remove the need for checkpoints.